@# Quotes DB     useful, funny, interesting





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



Comments:

<0> How can I do it so, if an user presses a checkbox on my site, some http code gets shown below
<1> put the code in <div style="display:none" id="divMyDiv"> </div>
<1> then in the checkbox's onclick="document.getElementById('divMyDiv').style.display='';"
<0> I see
<0> Thank you :)
<0> But how can I take the display away again?
<0> style.display=none; ?
<0> or 'none' to be specific
<0> And do you find this code to be messy for this simple thing: http://pastebin.com/523155
<2> hm... bed awaits...
<2> now I only have to move 4feet to get to it...
<0> and turn off the screen
<0> and take cloths off
<0> so forget it! :)
<2> I'm already nekked!! (ihhhk!)
<0> yieeek!



<2> and I tend to leave the screen on
<0> why is that?
<0> movie?
<2> If I turn it of the usb-hub (embedded on my tft) also turns off, which is no good
<2> I *charge* my Mp3-player using the usb-hub.
<0> ah
<2> no, it's step 8 on my 10-things-todo-before-hitting-the-sack list.
<2> too bad my soundcard is busted :'(
<2> I only get some static noise... really annoying...
<2> hehe, I better start turning off my tft before going to bed...
<2> do you still call a tft a monitor? or is that crt-exclusive?
<2> I never gotten the hang of *that* lingo.
<3> no once call those tft
<3> all lcd now
<2> ah, so I should refer to it as *the lcd* ?
<3> you can still them monitor
<2> monitor it is.
<3> or mon. ;)
<2> or mon.
<2> :P
<3> i have a 60" monitor
<3> :p
<2> crappy thing is, I've been dead-tired for past 4hours, and I have to go to some retarded matlab course in 4hours :'(
<2> 60"... that's almost as big as my room.
<3> nah, but your bed may be
<2> you havn't seen my room :(
<2> been up all night writing a mod for world-of-warcraft that will allow you to communicate with other factions (pvp-wise)
<2> *yawn*
<2> cu tomorrow guys.
<3> nite
<2> cu <- what's that!?
<2> *see you*
<2> (I'm not 14, so I have to remember to behave)
<3> nah, is fine, I don't even know how to spell :D
<2> xD
<2> /exit-quit-boot
<4> how can I set a default value to a text box?
<1> value=""
<5> <input type="text" name="myName" value="My default value"/>
<6> hello, does anyone know why adding a custom property to a 'rule' object doesn't work in IE? here is an example: http://mjsdigital.com/js_test_gmflash.htm
<7> salutations matinales / morning greetings
<8> hiya
<9> Hello.
<10> hello everybody :)
<10> someone alive here ? ;)
<9> Only undead roam the halls of #javascript
<8> the way is shut :)
<10> I've a problem when I test an email validity... My function (with regexp) works if the email is xxxx@yy.com but does not work if the email is xxx@.yyy.zzz.com
<10> so what will be the change on the regexp in order to check "complex" and "simple" email addresses ? :)
<9> Doesn't look like a valid address to me. :-)
<10> at present my regexp : var reg = /^[\w\._-]+@[\w]{2,}[.][A-Za-z]{1,6}$/;
<10> in france we've email like : toto.toto@midi-pyrenees.ecologie.gouv.fr
<10> for example !
<9> Regexp isn't my forte, but if you google you'll find hundreds of e-mail validation patterns.
<11> anyone knows of a good channel for java programming discussions?
<9> #java ?
<11> yeah, not sure if that's actually for programming, or for the island of java (indonesia) :)
<9> Javascript and Java are not the same languages btw.



<9> #java was for programming last I checked.
<11> yep, i do some work with both languages, so i thought i should find a place and see if i can help out anyone with java questions
<11> yep it seems to be for java programming. ill check out the website
<3> 'morning
<12> morning
<12> good afternoon, actually =]
<3> ;)
<2> lo ht311
<3> lo
<13> Good morning guys. Is there some way I can get a function to stop the browser from advancing to the <a href URL? In other words, with <a href=test.php onClick=thisfunction()> I would want thisfunction to negate the URL.
<13> I tried return false.... but it didn't work :(
<7> salutations du soir / evening greetings
<3> Rex_Goodhear: return false work for sure.. (in IE at least)
<13> ht311, do you know of a Firefox workaround? It doesn't work in Firefox..... :)
<13> :(
<2> Rex_Goodhear: onclick="return thisfunction()"
<13> fatbrain, but I want other statements in the function to work also
<2> what?
<13> Technically, onclick='return false' should not advance to the URL, correct?
<3> technically, it have to do which how to cancel an event
<3> return false is one of the way to cancel the event.
<13> Well, this is interesting....
<3> or set the .cancel = true; <- (I believe this is how it work in FF)
<3> there is .returnValue = false; kind of same as return false;
<13> <a href=test.php onClick='return false'> cancels the URL
<13> <a href=test.php onClick='return false'> cancels the URL but <a href=test.php onClick='return()'> advances to the URL when even though the only statement in the function is "return false"
<3> good then. just in FF like fatbrain said, onclick="return myFunc();" make sure your function return something
<13> ht311, I just tried that
<13> it didn't work
<13> <a href=test.php onClick='return false'> cancels the URL but <a href=test.php onClick='return()'> advances to the URL when even though the only statement in the function is "return false"
<3> tried ="return myfunction()" where myfunction() return false at the end?
<13> And <a href=test.php onClick='return return()'> also advances to the URL
<13> oh wait
<13> I had too many {'s
<3> don't use return as function name too.
<13> I think fatbrain's solution might have worked
<13> I made a typo
<13> fatbrain, ht311.... Thanks! 'return thisfunction()' was the answer.
<2> heh.
<3> I learned somethine too *what a FF noob*
<2> ;)
<14> why would IE error on this: FiberAmt = parseInt(document.forms[0].FiberAmt.value);
<2> Servo: define *error*
<14> ok
<14> Error: Object doesn't support this property of moethod
<2> the problem is more like an incorrect reference to the form element FiberAmt
<14> works great in Firefox
<2> try, alert(document.forms[0].fiberAmt); and see what you get
<14> ok
<14> alert's 1
<14> which is the value
<15> I dont know if this is JS problem or not but I would like help on it, I have a form that I submit, but instead of using onsubmit to validate I use onclick button so I can use 'this.form' but the problem is when I do form.submit() i don't get the values when I try to retrieve them in PHP.. does anyone know what might be causing this..
<2> Sh1no: I have no idea.
<2> Servo: then try add a parseInt around that.
<2> alert(parseInt(document.forms[0].fiberAmt.value));
<14> i got it
<14> i need to add var in front of it
<15> Can this.form be used with onsubmit to refer to the form without needing to use its name property?
<2> well, problem is you'r ***igning a <numerical> value to the global <html-input-element> fiberAmt
<2> sorry, FiberAmt
<2> you should *not* name your varaibles the same as an element.
<16> ok, i've done some hardware changes concerning router and whatnot, the site should be up and stable.
<17> COOL!
<18> sweeeeeeeet
<16> i'm also setting up some hosting over the next month and will migrate things then.
<17> excellent :-)
<16> terribly sorry for the lacsidasial (sp?) attitude the last month.
<16> :-)
<18> torgo be-gone!
<16> it's been a thorn in my side for too long
<1> 'member those guys you did some 'tree work' for?
<16> yeah
<1> they need some more done if you're interested


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#chatzone
#MissKitten
#london
White Label Don't Stop vs Insomnia
#linux
#teens
php + imagepath in variable
extrabling.com
#linux
carnies in toronto



Home  |  disclaimer  |  contact  |  submit quotes