@# Quotes DB     useful, funny, interesting





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



Comments:

<0> listen to the onchange event of the select.
<0> then display or hide your text field accordingly
<1> ok
<1> so whats a good way of displaying/hiding it?
<2> hello
<2> is there a way to get the key pressed in javascript ?
<2> is window.event.keyCode; is the only way ?
<3> anyone offhand know the Event.keyCode for the delete key?
<3> in firefox, specifically
<3> for some reason, my invalid character function is trapping delete in firefox (though it works fine in IE)
<2> hehe
<2> i need help for keycode too
<3> hehe
<3> well maybe i can help with your problem
<2> i need to input a caracter in a td without a input



<3> what do you mean?
<2> i want to put number in a table, put without using input box,
<2> but
<3> you would need to trap onkeypress on the document then
<2> i want to select the td, and press a key
<3> or on the td
<3> whichever you want to trap keypresses
<2> the onkeypress event can work on a td ?
<3> honestly, i've never tried it... let us know ;)
<2> ok
<2> it cant work if i cant select focus a td that is for sure
<3> ok, well how about this:
<2> i need to make focus to make a keypressed event work
<2> like with a input
<3> td's should be able to trap mouse events, and document definitely can trap onkeypress
<3> keep a global with the td that was last clicked on
<3> and send the key presses trapped via document.onkeypress to that td
<2> onclick work fine
<2> window.event.keyCode
<4> Internet is for porn
<4> Evilhoof and Flayed
<4> http://video.google.com/videoplay?docid=-4446981554735098778
<2> wow
<5> I like how google video utilizes flash-video.
<0> i hate the script error in google video page
<5> script error? I didn't notice :P
<2> hey
<2> how i do make a function alway running ?
<6> function () { for(;;); }
<0> fatbrain: not today, guess they have fixed it finally
<5> ht311: if you say so ;)
<0> melfar: you are bad :)
<5> melfar: that would actually not make the function run all the time, but the for-statement.
<6> function runme { runme(); }
<5> for(;;) { (function() { })(); }
<6> ahh you beat me :]
<5> and that would generate an out-of-statespace error
<5> stack*
<5> or, stack-overflow error
<5> whatever it's called in JS.
<0> i bet he just mean setInterval
<7> Looking to do some ado database prog using javascript to create ado object and show data to user, no problem right?
<0> it won't work in broswer
<5> danbrwn: no can do.
<7> I had some code where someone used the javascript to create an activex control for the ado connection and then using the innerhtml element modify the page. Is it not possible? Ive used an activex control in javascript to create a client side activex control before.
<0> it is possible, just not sure it will work in normal page in normal security now.
<7> I am doing this only for local net so security isn't a problem really as none of the machines will be able to access the internet
<0> just try it then
<7> I want to be able to get the data from the table created using the ado connection out of the browser to a third applcation. How?
<0> "ado connection out of the browser to a third applcation" ? ado connect to supported data source. not sure what you mean, but it is not the scope of javascript anymore
<7> I guess the question is, how do I send data out of the browser with javascript?
<7> Do I need to write a CGI script to post data out of a browser with javascript?
<8> i guess the question still wrong, browser send data with http, for javascript it trigger some post.
<8> for ado, you send data into a datasource/db
<9> just submit a form
<7> ht312, furtive, so I would use the ado to connect to my database, innerhtml to modify the contents of the page to display the data to the user, then html post via javascript to post the data to a cgi script to get the data to a third application?
<2> i want make my page listen to the keyboard event
<9> Ortue: look into onkeypress, onkeydown, onkeyup
<2> body onkeypress ?
<9> i think it might be window instead of body, dunno, look it up. on the channel site there's a page with descriptions for all event listeners



<7> anyone familiar with AJAX and its capabilitys
<0> it capable to cure world hunger
<7> ht311, wow, thats usefull
<9> ajax is complex, as it pulls various elements together in a closely integrated relationship, it's too much to explain over irc. do a search for ajax or ajax tutorial on google, or look up the prototype framework or other ajax frameworks.
<9> but before anything else, make sure you have a good mastery of javascript to begin with.
<7> Yeah, I did and understand a little. Im a pretty decent programmer so I am trying to find the best fit for an application my boss is making me create with some stringent requirements. Let me explain and see if you think Im going the right direction
<7> I am using a wonderware like package to create most of the user interface. Unfortunately it has terrible database support
<7> my boss's requirements (really our clients) is that we have no propriatary (out own stuff) software
<7> so naturally, i thought of scripting. I am a good C++ programmer so voilla javascript
<9> terrible db support on the serverside? or issues of m***ive amounts of data on the client side?
<7> We will only be reurning small subsets of a m***ive database on the serverside, maybe 100 records at a time
<7> im sorry small recordsets from the server to the client, caching the data on the client
<0> use ui as webpage is a requirement?
<9> well, the paging should be controlled by the server, still no reason for ajax? are lots of rows edited regularly, or focus on details in one row usually?
<7> no but I cant have any proprietary software and the wonderware like package has terrible database support
<7> few if any edits, mostly using querys to cull data and make decisions, viewing for the user mostly
<7> see im using the microsoft webbrowser control embedded in the wonderware (HMI) application to view the data, javascript to enable editing? and then posts back to the server through the ado connection
<9> i've never heard of wonderware
<9> and i've never found a pair of underware that could handle the job
<7> Wonderware is a package used to create graphical windows and ***ociated scripts to control devices with a touchscreen. So when you see like a picture of a factory controlling their machinery by touching the computer monitor, thats probably wonderware
<0> i just feel that you are going for the right path. you can make native application with oss tools. so not having any proprietary software is nto a reason to go the web path
<7> In essence it a container with scripting
<0> "not going for the right path"
<7> Well I guess I could do some other scripting but I am limited in whats available for embedding into a document. What led me down this road is, i have a video server that serves up live video and has a web interface that looks great
<7> of course you can change the look with CSS anytime, I have a webbrowser control embedded and just open a page containing the javascript to connect to the server and it sends live video
<0> new the reason is valid enough, everything you want to do with it is possible, just you shoudl understnad a bit more how web application work in general (http request and response pair) , or you figure out what you mean by connect third party app.
<7> Well, i quess ill do some more research, thanks all for the help.
<7> quit
<0> "good programmer" .....
<9> needs some leadership, that's for sure
<9> and to learn how to live beyond prepackaged controls
<0> a cl***ic problem of "what" and "how"
<0> people always want to know "how" to do a ceratin thing. while they don't really know "what" need to be done
<9> i think we should just come up with a blanket statement on ajax, make a page with links to overview, tutorials etc, and point all questions there.
<0> http://www.javascript-channel.com/Wiki.jsp?page=Ajax
<9> my katamaridamacy is eating the earth!
<0> hehe
<9> :-)
<0> check out gridwars
<0> http://www.incitti.com/Blitz/
<9> nice, i'll take a look at it
<0> you know about Geometry Wars?
<10> did they fight with prtractors and comp***es?
<9> i added ajax to the "JavaScript Help" section of the left menu, and fleshed out the structure of the page ht311 put in place. I've got groceries to unpack, will add links and more stuff later today but others are welcome to contribute.
<2> hello
<9> yes
<2> i want to make a innerHTML='nothing';
<9> you just did it
<0> = '';
<2> if i do a innerHTML=''; it doesnt work
<9> you must be doing something wrong then
<0> or you playing with table or select
<2> it work if i put &nbsp; but now i need very nothing
<2> :(
<0> what tag you are trying with?
<2> i put <span></span> and it work fine for me, but i seem stupid:P
<2> null did not worked too, but i can live with span
<2> <td>
<2> i want the td to disapear
<2> without using style=visibility,
<0> so my guess is correct. *back to his coffee*
<9> good call ht311
<2> ='' did not worked
<2> ='<span></span>' was ok
<0> use whatever it work, you try to get a "not render the td when it is empty", and force that after you play with innerhtml. is creative, but it just didn't work.
<2> is there a better way to not render a whole <tr>
<2> because style="visibility:collapse" or display hide, was not very good :(
<9> hide doesn't exist, it's hidden
<9> try display:none instead
<2> display:none are good for all browser or only msie ?
<2> i though it was for explorer


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#AllNiteCafe
#chatzone
#linux
#MissKitten
#c++
#php
FLOCINOLOL
#linux
usjeans
facts about traxex



Home  |  disclaimer  |  contact  |  submit quotes