| |
| |
| |
|
Comments:
<0> ello all <1> Yo. <1> (OK, so 11 minutes for your first response, try not to get too excited) <0> hah... i wet myself i was so excited... just got back :) <2> Hi , is <SCRIPT type="text/javascript" SRC="fadein.js"> <2> </SCRIPT> <2> the correct way to include a .js file to a html document? <3> almost <3> <script language="javascript" type="text/javascript" src="fadein.js"></script> <2> http://pawned.dynip.com:1001/misc/ my .js file is not loading :( <4> hi to all <4> i want to set a matter
<5> eh <4> i have a page with onload focus within body .Each time i do post back the page reloads and focus sets to a hidden textbox <4> until now all its fine <4> I also use 3 dropdown lists .Each time the index changed in first list second and so on the page reloads and focus goes to hidden textbox so as to have the default submit <4> but and here is the question or riddle u can say <4> when i put page within a frameset <4> while each action like a button posts back and so reloads the inner page within frame <4> even when focus inside any textbox <4> but when select from dropdown list page seems to post back but focus is lost not goes to hidden textbox <4> i am sure iframe <4> is responsible <4> is there a way not to lose focus <6> err got a URL for it/ <4> its intranet application <4> i use a trick with ahidden field to get the default submit in other way handle the enter key <4> iexecute javascript each time i load the page <4> to focus to thattt hidden <4> also i add attributes to textboxes within form to handle enter key onkeypress <4> when using the iframe in case i select from dropdown lists it seems tha either page fails to load again and so script with focus is not executed <4> but dropdown list when index changes seems to postback <4> i cant make clear why that happens <4> i also see that if the search button is clicked or the clear button to clear fields is clicked the hidden field focus <6> mmm no idea <4> is it the iframe? <6> no idea <4> because in a simple page without frame palys ok <4> because in a simple page without frame plays ok <6> without seeing it, it's impossible to tell <4> create a simple page and addthe above code to see it <7> Hence my comment about guessing games, RoBorg. :-) <6> Iframer: http://pb.html-channel.com <4> ok <4> someone to answer why default submit with dropdown lists and the trick with hidden textbox get focus fails when page within a !@### frame? <4> any one expertize in iframes? <7> It's not that big a subject heh <8> lol Pilum <8> You hit the nail on the head there <5> how do we declare a variable globally? i.e. declare it in one function such that its value is available to another <9> declare it outside the function <6> myGlobal = "moo"; <9> that will work, but shouldn't do that ;) <10> anyone used ASP.NET Atlas with Javascript ? <5> ht311, declare outside but its value set inside a function you mean? <5> eh? <5> ah good it works
<5> brilliant <9> I am so surprise you didn't know that <5> yeah...its something that has haunted me forever <5> and ive had to use cheap tricks (p***ing values from function to function) to get around <9> that is what you should do <9> only a few case you should use global var <5> i see. in this case ive had a huge chunk of XML loaded into a variable by a function and want it available elsewhere <5> btw, is there any issue with IE not being able to load xmlhttp request data into a select field? <9> there is never a automatic way, if it didn't load, is all your problem to solve :) <5> yeah...but the same function works when i force a load onclick. <5> Event.observe(window, 'load', init, false); is this valid for IE? <9> it is not even for FF <9> you are using prototype? <5> yes <5> works for FF only <5> http://www.vepcon.gov.pk/12/ <5> the selectboxes info is loaded using that function <9> select don't support innerhtml in IE and table also <5> ekh...then what to do? appendchild? <9> options.add <9> appendChild should work <9> never tried before <5> k ty <11> hello <11> I need some help <11> looking for a simplet javascript to detect platform, then deliver either .wmv to windows or .mp4 for mac <7> And if it's neither? :-) <9> show an animated gif? <9> :P <7> navigator.platform should work. <7> If not, OS info is present in navigator.userAgent <7> ht311: Dunno about you, but I can play both wmv and mp4 hehe. <12> on keydown event <12> how can i check wich key have been pressed <7> http://www.quirksmode.org/js/introevents.html <7> Under the "Reading out properties" header. <12> thanks <13> is document.styleSheets depricated? <13> somehow it doesn't work <7> Works here. <13> hmm <13> i see. i cannot use it on cl*** definitions... <13> right? <5> no <5> u have to dig deeper <5> u have to dig into teh Rules <7> http://www.quirksmode.org/dom/tests/stylesheets.html <13> my bad <13> all i was missing was a style inbetween of rules[] and property name <13> but it only works, if i use an index, if i access it by name it doesnt do anything... <5> did u put quote marks outside the name? <13> yes <13> single and double <13> both wont do <13> in firefox 1.5
Return to
#javascript or Go to some related
logs:
draw circle c++ console * #linux fc5 config_4kstacks #linuxhelp #c++ #linux #MissKitten #london realer Dilbert #AllNiteCafe
|
|