| |
| |
| |
|
Comments:
<0> hello everybody <0> I have a problem... I need to add an argument to a function that needs to access the event... so far I used the cl***ic syntax function dothis(e){} <0> I cannot find a way to add another argument to the function... <0> to be exact, I do not know how to call the function when I need to add another argument <0> I cannot leave the e field empty <1> .onevent = function(e) { dothis(e,whatever); } maybe <0> oh, I try thanks <0> thanks! it worked <2> how to make a scroller for layers in dhtml? <3> get in a time machine and head back to 1997 <4> anyone /* <4> oops <4> anyone faimiliar with the ajax error 302 ? <3> so now anything http related is ajax? <3> http://www.checkupdown.com/status/E302.html
<4> well... <4> thanks <5> Hi <5> Anyone around? <6> me but i also need help <5> Oh <5> But you'll probably better than me with JS <6> any1 here tweak css ? like accomodate the layout to browsers <6> i remember a "child of" thing for firefox <7> heh. you just noded to $chan($active, 0) <7> heh. you just noded to #php <7> heh. you just noded to 72 <7> heh. you just noded to 72 people <7> heh. you just noded to $calc($nick($active, 0)-1) people <7> heh. you just noded to 71 people <8> hi...can someone help me out...i have my site here www.michaelscalise.com/smc/generate.php and i can add items to the html selects in internet explorer, but not in firefox <8> i can't figure out why <8> woops <8> i mean <8> http://www.michaelscalise.com/smc/?p=generate <7> frm has no properties <7> document.courseScheduler <7> um <7> try <8> what does that mean though...it works in ie <7> frm = document.forms["courseScheduler"] <7> ooh wait <7> no <8> i think im getting an error in ie now too <7> document.courseScheduler actually works <7> the error points to line 29 <7> if(!frm.courseName.value) <7> i guess frm doesn't exist when validateAddCourse() is called <7> it hasn't be declared <8> crap <8> now i can't stop it from erroring out in ie <8> btw, is that because ie and firefox execute javascript at different times <8> or onload at different times <7> they execute onload at the same time -- when the page in done loading <8> then how could frm not exist when validateAddCourse is called <8> and actually that's not even called onload...it's called when they click a form button <9> how to add element to array? <10> myArr[myArr.length] = elm; <9> thanks a lot :) <10> np :) <8> hi, if i have select1.remove(0) in a for loop...how can i have it use the iterator <8> im not sure select + 1.remove(0) will work <8> is it [select + 1].remove(0) ? <8> woops i mean select + i <11> Hi <11> Hi again <12> hi <11> I think I have disconnected before I ask my last question
<12> correct <11> so I will repeat sorry i someone receive it before <11> I have a preload script that is not working Im doing something like : preimg = new Array([sizeofmyarray]); preimg['[imageFileName]'] = true; for (var i in preimg) { tmpImg = new Image(); tmpImg.src ='[imgPath]' + i + ''.png"; } <11> do I need to name each img one by one without using tmpImg or do my error is somewhere else ? <12> wtf <11> the ''.png is a chat "parsing error" I have well type tmpImg.src ='/myPath/' + i + '.png'; <11> eaxactly <12> your code makes no sense to me <11> probably ;) <11> to preload an image: Myimg = new Image(); Myimg.src = 'myimage.png'; <11> do you follow me at this point ? <11> do you follow me up to this point ? <12> yes <11> (sorry i m french ... my english is really bad and worst at this time ) <11> so, starting from there I say I initialise a js array <12> pas grave, but i'm going to bed now, sorry, meeting tt demain <11> preimg = new Array([sizeofmyarray]); <11> ok good night <11> (bn) ;) <11> to initialize the array that handle all pictures, then I ***ign a key for each pict preimg['[imageFileName]'] ex: preimg['mypict']; <11> and I loop to preload for(var i in preimg= { <11> tmpImg = new Image(); tmpImg.src ='/myPath/' + i + '.png'; <11> that 's it <11> so simple .... I don't know what's going wrong <11> ... <13> you no longer use language="javascript" correct? <13> or atleast thats what i've been told in html validation <14> hey <14> I'm trying for some time now to have: var theX = document.getElementByName( hiddenXfield ); where hiddenXfield is transmitted as a param, and it gots the value as: hiddenXfield = 'hiddenFieldX'; <14> am I doing something vrond? <14> *wrong ? <15> _check_, getElementById is better <16> hi all <15> hi L`OcuS <16> yop Aquel <14> Aquel, thanx but the element I vant does not have an ID ;) <14> by the way I solved the thing <14> getElement-S-ByName, I missed the s, dammit <15> lol sorry i didn't see it <15> but you should anyway give an ID to your element <15> :) <14> from ASP.NET I have the Page.RegisterHiddenField( fieldName, fieldValue ); //no options for ID ;( <15> arf ASP.NET :p <14> the event onload occurs when the object has completely loaded? <14> I can see that the <DIV> does not have the onload event :( <14> can I still somehow set some action at the moment when the div is completely loaded? <15> onload is in the body <15> onload is where the entire page is loaded <15> that includes your div ;) <14> ok, but the onload of the body is automatically set to something <15> what to you mean <15> to/do <14> well, I have some control in ASP which sets its javascript to be executed when the body is loaded <14> now I have made another control which also needs its javascript executed on body.onload <15> well write your code in the same function <14> is there any way of doing like: function myFunc(){ execute body.onload function then execute my function } ? <15> of course <14> in C# for example I can do body.onload += func1; then later body.onload += func2; <14> and by this, on onload I will have func1() and func2() executed in the order they were added <14> can I do something similar in js ? <15> if the result is <body onload="func1();func2()"> that will work <14> that is hard stuff to do from asp.net <14> I mean to find out the value for the body.onload <14> like Page.Attributes[ "onload" ] = Page.Attributes[ "onload" ] + "function2()"; <14> am I able to generate an event? <14> like without the user to press a key, the onkeydown to occur ? <15> no <15> :)
Return to
#javascript or Go to some related
logs:
#teens #AllNiteCafe #skype #MissKitten #linuxhelp MIRC Abitibi #php cache:pVpRm8c4q90J:www.quotesdb.info/undernet/london/16Jan2006/29.html +7 @hotma #linuxhelp #java
|
|