| |
| |
| |
|
Page: 1 2
Comments:
<0> hi <1> Hello. <2> Hi how do I call a javascript function from somewhere in my html page without user intervention (onmouse/onclick) ? it should execute 'just like that' <3> hey doesanyone kno how to get hold of thesession state id from clientside <1> ARJUN: Check the cookies or the query string. <3> hey pilum how you <3> soz for dissapearing last night <3> i whent to bed <1> Just got up myself. :-) <3> im trying to create a "online status" box wich must be selectable, so im using a listbox "works well" <3> but now im not quite sure how to check whose online <3> who's <3> i thought i was was gona make the client send the sever his user name, every 3 sec and then make the server store it in an array, then the server will wait til his next interval and send the array to the db <3> upon wich he will reply with the new list of users by the latest time he updated to the client <3> what do you think <3> ////////////////////////////
<1> Insecure. <3> otherwise i thought i could simply have the client get his session id as he logs in. the then the server just querries the list of session id's and checks the db who each one belongs to <3> and then sends a list of those <3> but nowi waswondering if it is possible for the server to querie a list of session id's <1> You're making it overly complicated. <3> oh ok <3> howd you do it then <1> Just store a time stamp in the db when the user does something and list anyone who's done something in the last e.g. 5 minutes. <3> mmmmmm i suppose your right, hehe <3> ok i can do that and gues what i dont even have tolearn anything new <3> lol <3> when i think about it thatway it makes sence although they will be losing outon some functionality <3> like the some guys will be on and then off the whole ime <3> plus theyl be sending messages to ppl that have been off for awhile <3> wich means those ppls will never get those messages <3> but the thing is this is 1st stages and they only payed me for simple 1st stagespart of project and i suppose that leaves room for improvemet <3> hehe wich means more money lo <3> lol <1> Indeed. <3> anywy imgona go write that quick <4> Hello, I have a dropdownlist and when the page first loads I want it to call a function. <4> I'm using onload on a table <4> it has a default selected value <1> And? <1> Lo dave-e. <4> and it doesn't work when I load the page <5> yo <4> basically I the dropdowllist has an onchange="getDescription(this.value)" <4> I want that function to work when the page loads <1> Did you say onload on a _table_? <4> on the table onload I put this onload="getDescription(document.getElementById('kingdom_descr').value)" <1> Table has no onload. <4> Ic... damn Visual Studio 2005.. it shows that it has <4> ok <1> And your reference is flawed. <4> which one? <1> There's only one there. <1> var f = document.forms['formname'].elements['kingdom_descr']; getDescription(f.options[f.selectedIndex].value) <4> and put that in an element that has an onload <4> ok thanks Pilum <4> heh there's the form .. but I'm using a master page and I'm limited to an asp:Content <4> hehe <1> And if you want it when the page loads then use window.onload <1> ASP is capable of outputting proper code. You don't have to use their ****ty templates. <4> where shall I put the window.onload? <4> yes well I realised this after using the MasterPage <1> In your script tag. <4> ok <3> anyone tell me how to make my div scroll to the bottom automagicaly <3> i realised that oncemy messages start to go intooverflow my div doesnt nscroll to the new messages so i suppose i need to set that <3> mmmm any one <3> and to make it worse i see that if i scroll there myself it autosrewedly jump to the previous line one the next intervil <3> interval <3> what to do <3> yea man gotit fixed hehe now i must just get it to stay where i scroll to too hehe <4> the onload does not work <6> Hi all. Struts question: I'm using struts validator, but I'm building my forms on-the-fly (including validaiton). Is there a way I could use struts client-side validation? I can build the xml on-the-fly, but I have no idea how to feed it to the client-side javascript. <7> i need a java programming help :> i need to convert my method to a object, is here the right place for asking? <6> oforce2: ?
<7> i need to create a polynomail object <6> how can you convert a method to an object? it's like trying to convert a verb to a noun - "sit on" to "chair" <7> :) <6> what's a "polynomail" object? <5> lol <7> :> <5> oforce2 are you talking Java or JavaScript? <1> oforce2: #java <7> =) <7> thx. <1> Completely different language. <7> ic ;) <3> good evening <3> howz every one doin <3> is there any reason why the list items in ie would dissapear when i set them via the inner html , <3> when i use ie <3> but in ff it works just fine <3> and tell me its just because ie ****s <3> because i know that already <3> mmmmm yea i thought so <1> To read -your- mind. <3> i hate ie i hate ie so much i couldnt possibly hate anything more at this time <1> And I can't give you an answer without knowing exactly what you're doing. <3> mmm ok <3> well the thing is im setting the inner html of my listbox <3> to update the users on it <3> at an interval <3> when i update it in firefox <3> it works <1> Define listbox. <3> but when i do it in internet explorer it doesnt <3> my items just dissapear <3> well acording to the source it gets interprated as a select <3> its a box with items in it <3> that you you can select <3> looks like the one on x chat <3> where all the users are listed in <1> What ELEMENT? <3> <select> <3> im not quite sure what your asking though <1> You don't manipulate a select with innerHTML. <3> oh ok but what then <3> and why does it work in firefox <3> all i did was say that the innerhtml = <1> Use the .options collection and new Option and/or document.createElement <3> <option value="arjun">arjun</option> <3> ok but the problem is that this i an asp controll so i cant get hold of it on client side <3> ok wait so you say id say .........wait..... <3> document.getElementById('lstUsers').options.add("new option") or something like that <1> No. <1> Well, I suppose .add() _might_ work. But it takes an object reference (to an option element). <3> oh ok so instead of saying("new object") i put a variable name in their <3> there <1> var f = document.forms['formname'].elements['lstUsers']; f.options[f.options.length] = new Option('value','text'); <3> [f.options.length] does this refer to the nuber of items i whant to add or is that exsactly what it should be <3> value would be the user name and text would be what i whant to display right <1> It's the same as saying e.g. somearray[10] = something; <1> .length is just the integer index. <3> oh ok so i dont have to state howmany options id like to be because i may not know yet at this point <1> And since .length is always 1 greater than the largest current index, it serves as an add. <3> oh i c <3> cool thanx <3> ill give it a go <8> |02|x|x|x|^|Verdana|^|ello <1> Wth? <1> What's that supposed to be? <5> He thinks it's that old MS Chat thing. <5> You remember like 5 years ago we used to get people coming on... <5> Dave-E appears as Fido <5> :D <9> yah <9> |02|x|x|x|^|Verdana|^|Elo Draconic
Return to
#javascript or Go to some related
logs:
#c++ hash_set iterating c++ mech undernet.org #MissKitten #chatzone xannys #php xejn sew.com #london formicary creatures
|
|