@# Quotes DB     useful, funny, interesting





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



Comments:

<0> 4096 bytes
<1> ah. cool
<2> mmm I'm confuse
<0> not as much as it sound :)
<3> 4,096 is a lot of letters
<0> no
<0> around 2000
<3> oh.. unicode?
<0> double byte char now a day
<1> thanks
<3> 2048 still a lot
<0> i hit that limit 2 month ago, rework my window manager layer to p*** that limit
<4> is it possible to have vbscript login to a webpage, and reutrn a value from a table?
<0> no one can give you an answer base on that question
<0> you just as confuse as asdsad
<4> i can have vb open ie and go the page



<4> but lookup the value
<4> and then give a msgbox?
<4> its just an integer in a table
<1> to get the contents of textarea, do you do element.value or element.innerHTML or what?
<0> .value will work just fine
<0> funkyMiNT: you shoudl have access to the document's html code, parse it yourself.
<0> i guess you don;t own that page?
<4> nope
<4> its on my companies intranet.. its just a %
<4> a # that i have to constatnly look at
<4> and would like to be able to just quick script to reutrn that # to me
<4> any ideas?
<4> i wasnt even sure if it was possible
<0> from vb app?
<4> vbscript
<4> javascript
<4> or something i can use an iframe
<4> and have my own html page
<0> if it is the same domain
<0> you can read the iframe's document dom tree
<4> its ibm W3
<4> our intranet
<0> not really care if it is ibm or not
<0> as long as it is not violate the cross site security setting
<0> you can read the docoument in iframe
<5> anyone can help me to translate code vb to javascript ?
<6> anyone play with the new googlepages?
<3> yeah
<3> its not too bad
<3> Not that powerful, but its pretty damn good for AJAX
<0> ajax is cool http://www.epinions.com/content_155313737348
<0> that is on special this week. was 89cents , 59cents now.
<3> you had me excited for a second
<0> sure, it got a 5 stars rating :D
<6> question
<6> anyone here interesting in working on a Really fun project
<6> to show up google and other ajax people that think their stuff is "cool"?
<6> im trying to recruit some people to ***ist me and Felix to build something very very interesting
<6> anyone?
<7> hello everyone......
<7> anyone can tell me if I can use mysql functions like mysql_connect(), mysql_query() in a javascript file?
<6> uh
<6> not unless your writing server side javascript
<6> i mean you could p*** your query in as a param like &sql=select * from blah
<6> but i wouldnt recommend doing that though
<6> because that would cause major security issues
<1> yes.. sql injection = bad
<6> now it is possible to do something similar though
<1> == rather, since this is #javascript :P
<6> and the translate it
<6> basicall youl could have table=blah&field1=blah&field2=blah
<6> then translate that to a query
<6> then return that data set as xml
<1> yes, properly checking and escaping each value
<1> to ensure security
<6> whats the js command for escaping?
<7> ok guys... the matter is I have 8 form fields and I put a value in the first field then when I exit from that field (onblur event) then I have to load others data from a database to fill other fields...
<6> ok
<7> so I was thinking about a javascript function to call a mysql database...
<6> what kind of server are you running?
<7> apache



<6> javascript = client side
<7> apache-mysql-php
<6> so you need a php/perl/python script
<6> ok
<6> so you need to write a php script
<6> that will parse the params in the url thats sent via javascript
<1> tek9: escape()
<6> thanks exam
<6> so basiclaly first write a function that will get all o fthe form data
<6> then after getting all of the form data you need to build a URL
<6> so basically field1=blah&field2=blah
<6> then you can send it via ajax/javascript back to the server to get the database results
<6> in the php script you will parse the field1=blah&field2=blah
<7> mmmmh, how I can send an url inside the javascript function?
<1> Luigino: thats what ajax is all about... check out XMLHttpRequest()
<7> for example, I have <input type="text" cl***="blahblah" onblur="checkid(this.form)">
<1> and the IE counterparts
<6> ajax hah i was doing that **** in 1999 with frames!
<1> don't let the XML fool you... doesn't necessarily have to use any XML whatsoever
<1> yeah... but frames == suxor
<1> :P
<6> sure its just funny how these guys "term" something and it becomes Hot
<1> heh... yeah, it is
<1> DOM, XML, and the XMLHttpRequest object have been around for YEARS
<6> yup
<1> since before IE6
<6> unfortunately so have I
<7> then i shall have to do function checkid(form) { if (form.id.value != "") { XMLHttpRequest("http://localhost/files/phpfilechecker.php=#"+form.id.value); } return true; }
<6> i just finished building an ajax Terminal application
<7> right?
<6> yup
<1> no, not right at all
<6> pretty much Lugino
<1> lol
<6> well he's wrong with the Request
<6> but i think he gets what he's trying to do over all meaning
<6> he's trying to build the URL then send it
<1> i guess thats kind of the idea, but yeah.. the XMLHttpRequest object doesn't work quite like that
<6> he's just using the javascript wrong
<7> eh tek9... but you see I have to use javascript function to work around an event in a field of the form....
<7> which is the onblur even
<7> *event
<6> function loadXMLDoc(url) {
<6> url += "&ajaxcachebust="+new Date().getTime();
<6> req.open("GET", url, true);
<6> req.onreadystatechange = processReqChange;
<6> req.send(null);
<6> } else if (window.ActiveXObject) {
<6> try {
<6> ack stupid IRC client
<6> i need a new IRC client
<1> i love how you can ***ign functions to variables in JS... that has so many powerful uses
<7> so you say its wrong to use XMLHttpRequest?
<6> http://www.erikberg.com/tools/trim.html
<6> examancer
<1> ?
<6> check this out var blah = {'thing': function { alert('testing');} };
<6> Lugino that link was fo ryou
<1> yeah... i'm making a lot of uses of that ability on linkleaf.com already
<7> tek9 in that link I have to consider the function LoadXMLDoc(url)?
<6> actually you need prtty much all of it until you get to the functino called doit()
<6> examancer
<6> are you using prototype?
<7> ok tek9 but if I use that xmlhttprequest when I'm executing the php file, can I send back the other fields data to the form also?
<1> tek9: yeah
<1> and scriptaculous
<1> very nice little libs
<1> makes my job way easier
<7> BTW, isn't that XMLHttpRequest figured for XML files instead of PHP/URL files?
<1> heh... you would think so, but not really
<1> it just has the ability to parse XML that is returned to it... but it just uses simple GET or POST... no XML in the request, and the response doesn't have to be XML either
<7> ah ok...so I can also get back from the PHP file that have extracted the data for the other fields to put in the other fields?
<1> not sure exactly what that questions meant, but i think the answer is yes.
<7> well examancer, at the begin I said I have a form with 8 fields then I put a value in the first field then at onblur event I have to do a SELECT to a mysql db to fill the other fields


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

ate rada
madako ozawa
#london
gg fs type ntfs not supported by kernel
#chatzone
#php
english langvige
#linux
how to wireless xbox 360 using non ms wirless
std tolower



Home  |  disclaimer  |  contact  |  submit quotes