@# Quotes DB     useful, funny, interesting





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



Comments:

<0> read about substr
<1> ht311 must've been pretty empty in downtown friday
<2> thanks
<0> yes it is, it is not empty today?
<3> yourstr = yourstr.substr(9);
<1> ht311 well no it was fairly filled at lunch time
<4> dZ0GE coz im really a graphic artist so i like my code to be neat...and json is a bit complex to me. reminds me of those constructor functions
<0> funny an artist prefer <> but not {}
<5> o_O
<6> I submitted a small program on the pastebin can somebody help me pls
<6> its under user michael
<7> Give us the url.
<8> :P
<2> jeez
<2> thanks
<0> and mike^, remove the color from your quit script



<6> the url is http://pastebin.com/731507 but i dont know if it correct since it thefirst time i'm using pastebin
<0> you crashed pastebin
<0> try with this pb.html-channel.com
<6> ok i did so
<9> the site didn't load :S
<6> do i have to do something else when I paste my problem?
<5> if letter ='a' --> if letter == 'a'
<5> err and brackets
<0> mike^: you suppose to paste the url back here everytime, else noone will know you pasted something
<6> http://www.html-channel.com/pastebin.php?id=18
<6> hope this is what u mean ht311
<0> yes, and hope you know that RoBorg already answer your question
<6> which brackets I have to remove?
<0> you need to add that to the if's condition'
<6> can write me exactly how since I cna't understand corectly. :( sorry to be abit stuip but this is the second time I'm dealing with javascripting
<10> var elm = document.createElement('some element'); elm.XParent = some_other_element_that_is_already_added_to_the_dom_tree; anotherElm.appendChild(elm);
<10> will XParent be destroyed if modifications are made to the dom tree?
<9> should pages in a WebSite be made in a lower case .. such as home.aspx rather than Home.aspx
<9> ?
<10> VaranG|aN: it's a good idea
<10> but you're not forced by anything to do so
<10> just that on linux Home.aspx != home.aspx
<5> mike^: try this http://www.html-channel.com/pastebin.php?id=2
<9> just because of that ?
<5> sk8ing errrrr I don't *think* so (unless you destroy some_other_element_that_is_already_added_to_the_dom_tree)
<10> that would be fine
<0> sk8ing, it will leak in IE
<10> ht311 ya... you're right
<10> I guess I should just p*** the id
<6> [RoBorg] i'm having runtime error on line 19 which means were there is the }
<5> what's the error?
<5> oh and you should move "total = 0" to before the start of the loop, or you'll just reset it every time
<6> runtime error on line 19 '}' do u want to debug
<0> ...
<5> oh it's your document.write probably
<5> you need to escape the quotes inside the string
<5> ' this isn't ok ' 'this\'s ok'
<5> or alternatively "this's ok"
<6> can u paste it for mepls
<5> document.write('The number of \'a\'s you have input is' + total)
<6> ok something worked but the result is coming like this
<6> The number of 'a's you have input is0
<5> [19:01] <5> oh and you should move "total = 0" to before the start of the loop, or you'll just reset it every time
<9> bindingSource1.Filter = "ISRETURN = 0"; for example
<9> wrong win sorry
<11> anyone know how to get the content of one drop down box from a database dynamically when a user chooses an option in a primary drop down box?
<9> WileECoyote ?
<6> im sending you a paste of the prog & see if its correct because i think its already like that
<11> VaranG|aN: when a user chooses something in a drop down box, the options in the second (coming from a DB) change.
<9> OnChange ?
<9> OnChange event maybe?
<6> http://www.html-channel.com/pastebin.php?id=12
<5> mike^: http://www.html-channel.com/pastebin.php?id=14
<11> VaranG|aN: yes i have that end but I'm confused how javascript gets the info from the DB
<0> xmlhttprequest
<11> ht311 is that for me?
<0> aka ajax nowaday
<0> yes
<9> what server side language are you using?
<11> thx i'll give it a look... is it hard do you know?



<11> PHP
<9> can't help on that then... but it should be pretty easy
<0> http://www.google.com/search?hl=en&lr=&q=php+ajax+dynamic+drop+down&btnG=Search
<9> I'm sure on google there are few examples
<11> thx ht311
<11> thx VaranG|aN
<9> ht311 in fact acted as fast as an event
<9> ht311 is an event
<6> still with the problem of incorrect output
<0> If I am an event, I need to make sure you can't cancel me
<0> :)
<11> wow i still can't figure this out... this stuff isn't easy :)
<6> http://www.html-channel.com/pastebin.php?id=15
<9> :P
<9> bit of practice there and then
<11> forget this... i'm just going to use hidden frames :)
<11> thx everyone :
<11> have a great day
<6> RoBorg can u figer the problem pls
<5> it works for me
<9> Hello mike^, RoBorg
<5> oh wait, hang on
<5> I didn't see you'd done another paste
<5> hi VaranG|aN
<6> it works but when i type something that has a's the o/p screen is alwyas 0
<6> http://www.html-channel.com/pastebin.php?id=15
<6> yes this is the url
<5> mike^ it works for m
<5> me
<5> are you typing words or single letters?
<6> i tried both
<5> it will only work for single letters
<5> it works fine here though
<6> The number of 'a's you have input is0
<6> this is the result
<5> not when I try it
<6> r u having same result with the paste of the prog I gave u last one
<6> can u check my last paste of the prog and correct if for me pls
<6> http://www.html-channel.com/pastebin.php?id=15
<5> yes i just tried it
<6> ****.. i must have something not good here
<9> ht311, how about an OnAjaxTextChanged ?
<9> only without the cancel
<9> I'm bored
<0> read digg then
<5> or fark or slashdot or boingboing
<9> digg is moving from an IT website to about anything site
<5> I never read digg
<0> I don't read fark that much
<0> I like the bookmarking park of digg
<0> Pilum: http://www.youtube.com/watch?v=O5r5f8ekDxQ&eurl=
<6> thks alot for your help and kindness roborg
<5> np
<7> Lol ht311
<9> Hello Pilum
<12> hi
<12> how can i detect when sometext is pasted into a textarea?
<12> onpaste event in IE :S
<3> Let's say I have recieved data from the server (XMLHttpRequest / AJAX) that is formatted as/using JSON. Then how should i implement it inot my script? meaning that, I have recived an array of items that i want to process one by one. how should i retrieve data from JSON formatted string?
<12> run the json thru eval
<3> eval(xmlObj.responseText) ??
<12> yes
<12> i beleive so
<13> Okay i have a question not sure if you can help or not but lets give it a shot im using asp.net and I have a form using list's how do I make it where if the user clicks on the first list and selects the company then it will populate the second list without having to use a submit button (both lists are dynamic so it has to do a query to get the data)
<3> well, i do not know asp.net. I do this kind of things with AJAX.
<7> You do asp.net/jscript? Heh.
<3> are they not compatible?
<3> w/ each other?
<13> im still confused what do you mean?
<7> Have an asp output the neccesary values on request and use ajax
<14> hello, i have a problem, if a user types a sequence of characters on a textbox, i want to call a function on the last onKeyUp, can someone help me please?
<3> AJAX is a technique, that allows the programmer to send request to the server and process the result from javascript.
<3> no need to reload a page. just need to execute a js function.
<3> like gmail.com


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#chatzone
#php
ebookwise linux
what country administers greenland
#linux
What country is the E.E.C's smallest member ?
#chatzone
#gentoo
15fuck
webebe



Home  |  disclaimer  |  contact  |  submit quotes