@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> blur()
<0> that's my only ideea
<1> yes, but I have to change that dynamically within a script
<1> Hello. If I know the form name and the field name, how do I get Javascript to advance the focus into that field?
<2> document.formname.fieldname.focus();
<1> thanks
<3> document.getElementById(formID!!!).fieldname.focus



<3> ()
<3> ;
<2> blah, he has the form name not the id
<2> and using formname and fieldname is faster
<3> you dont use names
<3> to refer to elements
<3> names are deprecated when it comes to design
<3> they are only used to refer to elements via server side programming
<1> well, that works, but I want to be able to use a variable to identify the fieldname... and when I do it doesn't work.
<2> Sociopath, stop saying crap
<3> ht311 : ignored
<3> you need to use a function to refer to elements
<3> you cant just refer to them
<3> it wont work in any browser but lame*** ie
<3> try it yourself
<1> for example, if fieldname = "myfield" document.formname.myfield.focus() works , but document.formname.fieldname.focus() does not :(
<2> document.formanme.elements["fieldname"].focus()
<1> ht311, thank you
<1> i don't need those quotes around fieldname, do I?
<2> for you , nope
<2> just to idicate that you p*** a string there
<1> ok
<2> http://www.jibbering.com/faq/faq_notes/form_access.html
<1> it works. You're a genius, bro.
<1> OK, now how do I disable the ENTER key from submitting a Submit input button?
<2> easiest way is don't put a submit button , just othere stuff
<2> else , you need to handle on keydown and cancel the event after



<1> I can submit a form without a submit button?
<1> form.submit() works without an actual submit button inside the form?
<1> as you can tell, I'm quite the novice.
<2> yes, you cna call submit() without a button
<1> cool. I guess I'll just change my submit button to an <a> tag with an onclick=submit()
<2> yup
<2> <input type="button" seem ok too
<1> all this focus stuff would be a whole lot easier if "readonly" didn't retain focus.
<4> hi
<4> can someone help me?
<5> hi all..
<5> i need help about resting form after submiting...
<5> reseting
<5> someone can help plz ?
<6> Easy Question: if a form doesn't have a name when I check on the code source, what is the name of it?
<7> count the forms from the page (starting from 0) and you can access it like document.forms[number].
<7> or document.form... i don`t remember well..
<6> so if it's the first form it should be named form1?
<7> form[0]
<6> and if I am in vb per exemple is it the same?
<7> don`t know :)
<5> need help plz
<5> about reseting form..
<7> what`s the prb
<5> ok..
<5> to see well.. i give u a link ok ?
<5> http://www.barreoblique.ca/test.htm
<5> it's in french but.. u will understand
<5> wktdesign when you fill all the form, the form reset after submitting.. that's i want.. but, if you dont fill all the form (ommiting something required), the form reset too.. that is the prob
<5> wktdesign did you see what i means ?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

webcam_server invalid argument
HOW-install-squid Solaris 8
baywatch 15
you caught in if a haboob blows up
#linux
hitchhikr
#chatzone
#linux
#MissKitten
GHING HAI



Home  |  disclaimer  |  contact  |  submit quotes