| |
| |
| |
|
Page: 1 2
Comments:
<0> instead of 1 and 0 you can use true and false like melfar said <0> :P <1> i never thought of approaching it this way <0> well if you only want it to happen in certain circumstances, using a variable seems to me to be the best way to do it so you can have the control you want (: <0> do you get it kinda sorta how it works atleast? enough to start playing with it and get it working? <1> well i do have a simple test form i built <1> but i cant figure it out
<1> it has only 1 text field on it <1> can u look at the code and tell me what to do :) <0> sorry, no can do, you gotta learn this stuff if you wanna be a good coder!~ <0> i can help you understand the idea <0> but if you understand the idea, implementing it is up to you <0> it's good practice <0> (: <2> Atrix, one of the better prank i saw for this april fool <2> http://thedailywtf.com/ <2> the top one <0> LOL <0> thats hillarious <0> wow have you guys seen this? dragable layers <0> http://www.codelifter.com/main/javascript/dragablelayer.html <2> that make you wow so easy? <2> http://www.domapi.com/build/tests/HTML_4.01_Transitional/window.htm?theme=system&skin=false&lang=eng <1> hey atrix can i do somethign like this? if(this.select()){this.value='';}" <0> holy crap <2> check out each one in there http://www.domapi.com/index.cfm?action=examples <3> hey ht311 and pilum i have the script working but u know anything about validation because it says the decremting part failed validation because of something haveing to do with a comment line <0> sru: i don't know if theres such a thing as select() hmm... <1> well form.select highlights the text in the field and that is what mine does now <2> sru02: jsut do onfocus="...." <1> so i only want to clear the field if the input is invalid <2> Phoenix92475: html validation? <2> sru02: onblur
<3> xml strict validation let me pastebin and tell u what w3 shows <1> doesnt work <2> Phoenix92475: //<[CDATA blah <1> do u understand what im tring to do? <4> <![CDATA IIRC <2> melfar: something like that, missing another [ somewhere <2> having // act as js comment <3> http://pastebin.com/636446 ht311 there is what is doin <0> sru: make a variable that is set to true if the data is invalid, otherwise set it to false. that way you can check to see if it's true or false and know whether to clear the text out or not <3> the code works fine but keeps giving me that validation error when i leave the ";" take it out etc <2> Phoenix92475: you get what me and melfar said? <3> about ? <3> code is same for the increment but the only part givin me the validation error is the decrement <2> you need to put your script content inside a cdata, search for the right systax <0> well see you guys later <0> (: <3> why would i have to do that when the increment doesnt give me that error but the decrement does? <4> <script> alert (a < b); </script> for you, it's a less than b; for xml parser, it's a tag open b <2> you need to learn about ml validation <2> x/xml <2> ah.. my finger ****s <3> ok is there another site beside w3,org to validate, its all sluggish <2> no problem from my side <3> ok one sec <3> k laptop work fine but desktop is sluggish and its just on that site <2> you text is all broken, you are sluggish from here too ... <3> ok let me change pc's <2> heehe <2> should have done that yesterday :)
Return to
#javascript or Go to some related
logs:
aMule setings italiankn #MissKitten #MissKitten #asm secure-delete example proxy: HTTP: disabled connection for #networking #chatzone ta lostra
|
|