@# Quotes DB     useful, funny, interesting





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



Comments:

<0> *meep* *meep*
<1> *meep*
<1> i need an alanlog clock BUT a tiny one grrr
<2> I say use flash in the case,
<1> vml \o/
<2> heh
<2> charge client 500$ for the analog click
<2> s/clock
<1> http://www.neofuture.co.uk/clock.php
<3> could anyone explain why the var totalprice doesnt show up? http://pastebin.com/518158
<3> what am I doing wrong
<1> FormatNumber ?
<1> is that a js function
<4> Only if you define it yourself. :-)
<1> http://www.4guysfromrolla.com/webtech/code/FormatNumber.shtml
<1> gona say



<3> if I throw out formatnumber it still doesnt work
<5> oi
<5> :)
<1> http://www.neofuture.co.uk/clock.php
<1> WMahahaha
<1> ht311
<1> what was tht site with the VML graph stuff on
<6> is there a way to force a newline in an alert box?
<2> NeoFu7ure: http://webfx.eae.net/
<2> mylobean: \n
<6> thank you ht311
<2> np
<1> thanks ht311 thats very cool aintit
<2> yes. that clock look nice, you need to make a svg one for ff1.5 ;)
<1> hehe
<1> its only for my app
<1> lol
<1> fits quiet nice too
<7> can you mix PHP mysql commands in a javascript function definition?
<8> nopes
<7> I am trying to input the onClose end time for when a user closes the browser
<7> i want to save that time into a mySQL db
<7> right now I am using <body onClose="endTime()"
<8> ahhh
<8> you can use AJAX to make the call
<7> how would I do that?
<8> do you know httprequest/AJAX is?
<8> http://rajshekhar.net/blog/archives/85-Rasmus-30-second-AJAX-Tutorial.html
<7> no but I am willing to learn
<7> I dont get it
<7> how would I record the endTime into mySQL using AJAX?
<8> have u used gmail?
<7> yeah for a bit
<8> did you notice that the page works without apparent 'reloading'
<7> yes I did
<7> I have seen AJAX in action a lot
<7> but what I need is to record the close time
<8> with ajax, you basically send the request to your php page, which processes the request and sends back results to teh script if needed
<8> oh ok
<8> well, you can look at the quick tutorial....just learn how to connect to your php file
<7> I am trying to time the start time and close time of someone reading a specific page
<7> I want to time someone reading a specific page
<7> is that doable?
<8> it is, but i haven't done it myself...
<8> i can think its possible using an AJAX call
<7> hmm..
<8> onclose, a js function makes a call to a php page like saveTime.php?time=yourTime
<7> Sufi,, how would it make a call to that php page? would it be using an AJAX httpRequest?
<8> yes of course
<7> ok i am trying it now
<7> is this legal?
<7> http.open('GET', 'inc/savetime.php?closeTime=getTime()', true);
<8> i have no open...im setting up my first experiment as we speak :)
<8> *no idea
<7> lol
<7> any luck Sufi?
<8> not yet, im in no hurry :)
<7> Sufi, i dont think you can *** variables like that in Javascript
<7> http.open('GET', 'inc/savetime.php?closeTime=getTime()', true); <-- that is illegal I think
<8> illegal



<8> http.open('GET', 'inc/savetime.php?closeTime=' + getTime(), true);
<8> something like that
<8> http.open('GET', 'inc/savetime.php?closeTime=' + myVar, true);
<7> ok will try that
<7> damn
<7> doesnt work
<7> Sufi, are you trying to do it too?
<8> not this way
<8> whats going wrong?
<7> it won't UPDATE the mysql closeTime field
<7> when I close the browser
<8> try and use a button with onclick first instead of onclose
<8> get your AJAX code to work first...use some alerts to see whats going on
<7> well there you go
<7> the alert isnt working
<7> damn
<8> :D
<9> salutations matinales / morning greetings
<10> hi folks
<10> I'm trying to figure out how to call a function in javascript, when I have the name of that function stored as a string... anybody help me?
<10> just calling the string as a function doesnt seem to work, i.e. theFunctionsName();
<9> var foo = 'bar'; function bar() { alert('foo bar'); } window[foo]();
<9> .
<3> I want to make something like this: http://www.tones.be/shop_configs3.php?code=PCPAK1 , starting scripting but apparently I did something wrong, cant seem to figure out why it isnt displaying the 'totalprice'... => http://pastebin.com/518158
<11> hi. how do i execute thisfunction() 10 seconds from now?
<12> hi i need help
<4> With?
<12> i create an xmldocument & loaded a xml string ... code :var xmlDoc=document.implementation.createDocument("","",null);xmlDoc.load(senderxmldata);
<12> & now i want to check if the xml string is loaded ?
<12> xmlDoc.childNodes.length gives me 0 :/
<12> Pilum: i want to check if the xml string is loaded ?
<13> u aldready said that
<12> StaZ[work] sorry, but how to check it ?
<13> i don't know
<4> Not sure. Haven't really used that much.
<13> http://www.codetoad.com/xml_javascripti_tutorial.asp
<4> Can't you just do stuff when xmlDoc.onload triggers?
<12> wait ill check
<0> ho-ho-ho
<0> StaZ[work]: What code are you using?
<13> fatbrain huh !?!?!? that was a link for drkwolf
<0> eh, I meant drkwolf
<3> I want to make something like this: http://www.tones.be/shop_configs3.php?code=PCPAK1 , starting scripting but apparently I did something wrong, cant seem to figure out why it isnt displaying the 'totalprice'... => http://pastebin.com/518158
<4> Firstly there's a scripting error, secondly, you're using document.write
<4> The script errors are that you haven't got the FormatNumber function referenced and that you lack a } to end the function.
<14> how do you make a table unvisible with javasript? (if it is possible)
<4> Sanguinarius: set display to hidden.
<14> how is it done?
<14> look this is the whole situationi
<4> tableRef.style.display='hidden';
<14> a ok
<14> tableRef is the table's name?
<4> No.
<4> That's a reference to the table.
<14> and how do you make a reference?
<4> For example document.getElementById('table_id')
<14> can you explain better , not really into the language
<13> Pilum just a wonder.. why use simple quotes?
<14> i want to have an html menu and when the flash menu loads it runs a javascript which makes the html disapear
<13> Sanguinarius a flash menu shouldn't take long enough to load to organize all this
<4> StaZ[work]: Why not?
<13> well string delimiters in most languages are doublequotes
<4> Personally it's become a habit for me to avoid conflict with quotes in html.
<13> yeah that's a point... for inline javascript
<14> ok , i did , thanks
<4> And in PHP you'd want single quotes as long as you're not parsing variables in the string too. :-)
<13> oh? like that? $mystr = "this is my $value";
<4> Yeh.
<13> heh... i don't like php...
<15> **** javascript
<15> :P


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

what is: normal body temperature for an adult
#linux
who is genious on earth?
foxylove naked
public_html apache Permission denied:
What sport was standardised under the Queensberry rules ?
separov
#php
#linux
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes