@# Quotes DB     useful, funny, interesting





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



Comments:

<0> And use a pastebin next time.
<1> well thats all i have to post
<1> paste i mean
<1> hehehehe
<1> oh now its working
<1> duh!
<1> LOL
<0> Heh
<1> i just have to run the asp file again
<1> thanks dude
<1> you are next to god
<1> hehehehe
<0> Thanks hehe.
<1> ciao
<1> :)
<2> is there any reason why I can't p*** parameters to my ajax function and from there to the function that handles the response to that request? So I can do something like myAjax( this ); (and in myAjax have the line http_request.onreadyStateChange = handleResponse( object ); )?



<3> help
<0> Heh
<4> yoo
<5> http://www.html-channel.com/pastebin.php?id=3
<6> hello anybody alive ?
<6> :)
<7> "I'm alive, I'm not dead. I can walk." Life of Brian, Monthy Python
<8> anyone have Java ebooks?
<8> @find java
<9> hello, is there a drawback if i got many listeners on a single page
<9> ?
<4> no
<4> but
<4> remember to remove the all while quiting the page
<4> them*
<4> IE does it itself, not mozilla
<9> you mean, it hogs the resources even when you close the window?
<10> what would be the go to relocate page ?
<5> http://www.html-channel.com/pastebin.php?id=3
<5> can somebody help pls
<4> (still with this problem mike^ ?)
<4> mike^ : http://www.html-channel.com/pastebin.php?id=11
<4> That's not difficult
<5> thks. this is the first time i'm using javascript & i'm still green on it
<11> lyrics generator?
<11> :D
<12> morning
<4> mike^ : you should read this : http://www.w3schools.com/js/js_intro.asp
<12> http://www.html-channel.com/pastebin.php?id=12
<12> here ya go
<12> the full song.. starting from 99
<12> :)
<5> hehe
<5> thks buddy
<5> \
<12> :)
<4> the full song (better version) : http://www.html-channel.com/pastebin.php?id=13 :p
<12> lol
<12> the full song (better version improved) : http://www.html-channel.com/pastebin.php?id=14
<12> just added another <br /> after then end of the verse :)
<12> hehe
<4> nerk : fanstastic ! :)
<13> Hey there. Ive got a problem with a regex, it works okay as it is, but now i want to be able to allow - in the expression, ive tried loads of things, yet cant find a way to get it to work, any ideas? My code is: http://rafb.net/paste/results/T86v3x54.html
<12> return (inString.match(regexp));
<13> what will that do though?
<12> actually
<12> just use this
<12> return (inString.test(regexp));
<12> # test
<12> Syntax: object.test([str])
<12> This method tests for a match of a regular expression in a string, returning true if successful, and false if not.
<12> but as far as I know.. there is no additional parameters beyond the regexp that goes into match
<13> well, it allows me todo 8787987983232 or (0880)098 or +44 989890809
<13> but now i want to just be able todo things like 205-333
<13> and so on, so i need - 's
<14> hey
<14> i know you guys don't support code that we didn't write, but i have a script that works in both ie and firefox on the site i got it from, but only ie after i implement it on my own site...would anyone be willing to see what's going wrong?
<15> we?
<14> i mean code that each of us didn't write
<14> original code..
<16> hello



<16> i use document.getElementsByTagName("table") and then within a for loop i use the ones that have a certain cl***Name
<17> and then...
<16> then i have tableArray[i].onmouseover=function(){tableArray[i].style.borderColor="#808080";}
<16> when i only have one table it works fine
<16> but with two...
<17> =function(){this.style.borderColor="#808080";}
<18> "i" has changed by the time the mouseover is called
<16> yeah
<16> exactly
<16> like an "overwrite"
<16> what can i do ?
<18> best to do what boiss suggested
<17> use the "this" instead of the array
<17> it will always refers to the current object
<16> well, you see
<16> i have an enhanceforumtable() function
<16> that i call when the window loads
<16> thats why i'm using getElementsByTagName
<16> and not "this" from the start
<7> Try it
<16> ok
<16> heh
<16> it seems to work
<17> knew it
<16> thank you all
<7> Gate9: Instead of creating a function on each iteration, you may just refer an allready define method to save memory
<16> does anyone know where can i find out more about this behaviour ?
<16> like ?
<16> oh...
<16> i think i get it
<7> function changeStyle(){
<7> this.style.borderColor="#808080";
<7> }
<7> ...
<7> tableArray[i].onmouseover = changeStyle;
<16> will enhanceforumtable.overChange=function(what){ work ?
<7> Probably not. What is overChange?
<16> a method
<16> tableArray[i].onmouseover = overChange;
<16> or tableArray[i].onmouseover = overChange(this);
<16> sorry
<16> or tableArray[i].onmouseover = enhanceforumtable.overChange(this);
<7> The later will call the overChange method and set the return value to the onmouseover handler
<7> This is probably not what you want
<16> guess so
<7> You only want to set the handler and that is the overChange method which only needs to be referenced
<7> So tableArray[i].onmouseover = enhanceforumtable.overChange; might do the trick
<16> aham...
<16> gimme a sec
<16> works perfectly
<16> thanks everyone
<19> hi
<19> I need to show this warning message when someone clicks on this form submit button, if they agree the form gets submitted otherwise goes to some other page
<19> can anyone point me to a function or example that does that?
<16> you need to show a message?
<17> onsubmit="if (confirm('bleh')) return true; else { location.href='bleh.html'; return false; }"
<19> yes.. show a message.. and if they agree click submit or click cancel
<16> then submit if they agree
<16> ?!
<16> use that ^^^
<19> sweet
<19> thanks
<16> i need to get some rest...
<17> anyone else want help ? im off in 5mins ;P
<19> can I put the message somewhere else?
<19> I mean not inside the form tag
<19> in a function maybe?
<17> yeah
<17> you can put onsubmit="return thefunction();" and in any script file put function thefunction() { if (confirm('bleh')) return true; else { location.href='bleh.html'; return false; } }
<19> onsubmit="thefunction();"
<19> is that what I use in form tag?
<17> add the return as stated upper
<17> onsubmit="return thefunction();"


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

sirrodney
#java
#linuxhelp
wget perl udp.pl
wrt45g v5 hack
irc hide my ip xchat
kannel java
above18
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes