html - How Can I Use Functions in PHP Pages with Forms? -


On my PHP webpage I have an html form, there are four input boxes and I am adding new data with them.

I want to do this, when I type something in the input box 1, the input box 2 will be the same, but instead of the place "-" with it

For example when I say "how are you" in the input box 1, the input box 2 should be "how are you" .. how can i do this? : /

Simply add this javascript to your page

  Value = document.getElementById ('box1'). Value.replace ('', '-')}    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -