| |
| |
| |
|
Page: 1 2
Comments:
<0> it wont be a number <0> to get the value you'd use arr[p] <1> and technically, you shouldn't relay on the index/order of the key even you can get value from arr[0] or arr["abc"] <2> k 10x <3> Checking values sent to a form with javascript, trying to exclude values like viagra :)
<3> else { <3> if (document.MyForm.Name.value == viagra) { <3> alert ('Unknown Error 4646') <3> document.MyForm.Name.focus(); <3> return false; <3> } <3> Eh, sorry about that. <3> Flooding? :) <3> Here is the code on web http://html-channel.com/pastebin.php?id=5 <3> Line 23 - 27 is where I'm trying to add the code to reject viagra <0> Name is a bad name for an element <4> try this instead: if (document.MyForm.Name.value.toLowerCase().indexOf('viagra') != -1) { <3> uploading new code now
<3> didn't work :( <4> mmmkay <4> any error messages? <3> Nope, parsed the form and sent it straight to database <3> Any other ideas? <0> what does the call to it look like? <3> what do you mean "call to it"? <5> onsubmit="return validate()" or whatever <5> backwards mine translates to ttubrednuht <3> Hehe.... :) Real name is put together from two names, take second of those two first and translate to English, and I get BearThunder <6> Let me guess... Bjrn Tore <6> Or Tore Bjrn maybe <3> :) Close <3> Anyway, here is the code for the complete page http://html-channel.com/pastebin.php?id=6 <3> (Need to feed my kids, brb) <5> mozilla never just froze on me for no good reason. stupid ffox <1> seem NeoFuture spread some of his FF hatred to your
Return to
#javascript or Go to some related
logs:
trivia chatzone
diff'rent strokes chilean #mysql amsuyu.net #skype convert ntfs to ext2 #php #chatzone #linux miss bambina
|
|