@# Quotes DB     useful, funny, interesting





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



Comments:

<0> what do you mean per chance?
<0> chanse*
<1> Are you submitting the form?
<1> Actually, forget that. You should submit the form.
<1> Use hidden intputs instead of that stuff there.
<0> hmm ... well doesnt document.forms['THEFORM'].submit(); actually submit the form?
<1> Yes it does
<1> But window.location.href changes the page - without submitting the form.
<1> So if you submit the form, you don't get the location.href
<0> ah



<0> well this is what i initially wanted to do
<0> have a select box
<0> that, if changed, reloads a new page
<0> with the selected value in the url
<0> but it should allso give me the rest of my vars
<0> so what should i do?
<1> Use hidden inputs and use the onchange to submit the form.
<1> Hidden inputs to store your other vars.
<0> aha
<0> yes yes
<0> now it works as i see :)
<0> thank's a lot
<1> <input type="hidden" name="redirectare" value="<?=$_GET['redirectare']?>">
<1> Np
<2> Whats the function to URL encode a string?
<3> encodeURI
<2> does it take a single string parameter
<2> and does it return a value or does it operate on the parameter
<3> it return. can't think of any js function that modify the ref. object
<2> thanks
<2> whats the function to get a javascript input box?
<1> What do you mean by 'get'?
<2> nevermind, its prompt()
<4> howdy
<3> oh, that super ugly prompt()
<3> hi
<4> I was wondering if there is a decent tutorial on how to check user input say I want something to be 9 numbers long, then have a pop up or print some text on the page that warns if it doesn't meet this requirement
<2> like form validation?
<4> yeah
<3> learn about regular expression first.
<4> pcre
<2> are you looking for a premade package (it would save time)
<4> I just need something to do this one thing...
<2> well, for exactly 9 numbers the regex could be /[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]/
<4> yeah
<2> could be simplified by using a quantifier, but I forgot how to use those
<4> i'm not worried bout the re part of it
<4> I've never used javascript before
<2> then your gonna want to look at something like this: http://www.webreference.com/js/column5/
<4> eventually I'll be learning it for this application, but that's further development down the road



<3> http://www.google.ca/search?hl=en&q=javascript+regular+expression+tutorial&meta=
<4> I wanna do the regex right after the user puts the data into the form
<4> that's the part I'm missing
<4> this has got one
<4> this page here...
<4> /^\d{9}$/ tybalt would be 9 numbers
<4> tybalt: /^\d{9}$/
<2> well, good for you!
<4> what I need is a tutorial or a page explaining when a user goes from one field to another how do I make it alert on that
<3> check out onblur onfocus
<4> k
<1> Lo dave-e
<5> yo
<2> you should go to Charlottesville, Va
<5> Um...
<5> Long trip for a short break :P
<2> State your current location
<1> Durham was it?
<6> and your mission on earth
<5> Correct, sunny Durham
<5> 2 points to Pilum
<1> Yay!
<6> how do you say 'understand' down there? like, under-st[e]nd or under-st[a]nd ?
<1> They don't.
<4> Durham NC?
<1> Durham, England.
<4> ...
<1> What?
<5> As in the real Durham.
<5> You lot are just to lazy to think of your own names.
<1> Hehe.
<6> like, Omega. that's greek
<1> They got both Bergen and Berlin too I know.
<6> and St. Petersburg
<1> Yeah.
<7> good night all (/amsg)
<6> good night (autoreply)
<8> XMLHttpRequest does not run on ssl :(
<3> huh?
<9> i must admit that is surprising me a little bit
<3> don't worry, most likely he is drunk :D
<8> its calling back to http:// when p***ed a /url/to/file.php
<8> not to https://
<3> hmm
<3> you mean the hosting page is in https , if you don't specify the protocal, it still send in plain http instead?
<8> yeah


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

12WHERE CAN YOU MAKE A MEAL OF SPAGHETTI JUNCTION?
#linuxhelp
cuteyoung
#MissKitten
e2salvage debian
#c++
c++ templates stringize
cache:8vAVJ_c9-RYJ:www.quotesdb.info/undernet/london/28Jan2006/27.html ***ssn***
asafar
What ability has the silkworm moth lost through domestication ?



Home  |  disclaimer  |  contact  |  submit quotes