kako0000000 — 2011-12-15T05:17:08-05:00 — #1
hello all member help me quick
i am create a one form in 10 texbox. i am copy other web Url link when i am past in textbox cursor not move automatically to the second textbox. and when past the second textbox the cursor move the not third textbox. please help me how can move automatically cursor textbox only past. not mixmim leg using.
send completely code java script and input code quickly thanks
paul_wilkins — 2011-12-15T05:47:30-05:00 — #2
The tab key lets you move the cursor automatically from one text box to the next.
kako0000000 — 2011-12-15T06:01:14-05:00 — #3
No i am not useing TAB, only when i am paste in one text box the cursor move second text box.
paul_wilkins — 2011-12-15T06:06:45-05:00 — #4
Here are the details on dealing with [cut/copy/paste and a [url="http://www.quirksmode.org/dom/events/tests/cutcopypaste.html"]demo](http://www.quirksmode.org/dom/events/cutcopypaste.html)
Once you detect that a paste has occurred, you can search the elements object of the form for the field that was pasted in to, and then set the focus to the next element in that list.
kako0000000 — 2011-12-15T11:31:38-05:00 — #5
I am using the java script when i am paste any text in text box then cursor move automatic next text box.
paul_wilkins — 2011-12-15T16:46:50-05:00 — #6
Well done, I'm glad things worked out for you.
kako0000000 — 2011-12-16T08:07:49-05:00 — #7
please help me all member i am worried
kako0000000 — 2011-12-17T21:55:38-05:00 — #8
please any body tell me answer
paul_wilkins — 2011-12-17T21:56:51-05:00 — #9
The information in post #4 is what you need to know to achieve what you want to do.
kako0000000 — 2011-12-17T22:43:41-05:00 — #10
I am not under stand post # 4 complete guide
paul_wilkins — 2011-12-17T22:48:35-05:00 — #11
We can help you to understand what you need to know so that you can get things working, but if you need someone to write the code for your particular needs, this might not be the place for you.
kako0000000 — 2011-12-17T22:57:05-05:00 — #12
Ok Sir i am create 5 text box use code
<input type=text name=filed1><br>
<input type=text name=filed2><br>
<input type=text name=filed3><br>
<input type=text name=filed4><br>
<input type=text name=filed5><br>
when i am paste any text in filed1 cursor move automatic filed2. How can possible in java scripts
paul_wilkins — 2011-12-17T23:11:46-05:00 — #13
Assuming that those input fields are in a form, you attach a function to the onpaste event of the form.
The reason for attaching on to the form itself is so that you don't have to attach it on to multiple separate fields, and if new fields are added or removed you don't have to do any further work. It just continues to work as expected when the event is attached on to the form itself instead of its multiple elements.
kako0000000 — 2011-12-17T23:48:55-05:00 — #14
thanks guide me i am again request write the complete code and again thanks
paul_wilkins — 2011-12-17T23:50:54-05:00 — #15
That is quite a lot of work and is something that is commonly considered to be impolite to ask for.
kako0000000 — 2011-12-22T02:24:18-05:00 — #16
i am not using the java script i thinks all not know answer my question.
i am wanted 5 text table. i am click first text box and i am press Ctrl + v its means paste the cursor not move next text box when i am press Tab then cursor move next text box. I want to not use the Tab to go next text box. Cursor move automatic the next text box when i am press Ctrl + v .
paul_wilkins — 2011-12-22T04:08:16-05:00 — #17
See post #4
Do you want someone to create all of the scripting code for you?