| |
| |
| |
|
Page: 1 2
Comments:
<0> hi all <0> hello? <0> phew thoguht i was the only one here! <0> can ANYONE help? <1> how do I get the default option of a select box? <2> read the ref of <option> <1> tx <1> so I'll have to p*** trough all the options <2> oh get deafult, usuallt , .value is ok <2> can use .selectedIndex <1> wouldn't selectedIndex return the current selected option? <2> return the index of the options <1> ah, I need to know wich <option> is <option selected> <2> you just looking for trouble
<2> check the value on page load and save it there <1> well... it's a lil more complicated :P <1> the thing is that I don't have any selected option by default <1> but <1> in some cases I do <1> now, when I refresh the page <2> THEN HOW THE HELL YOU EXPECT TO FIND THE DEFAULT <1> let me finish <2> the default is still empty if there is no default <1> when I refresh the page, if no default is set in the definition of some option, but an option has been selected by the user <2> put it in another hidden if you really want to find it quick <1> that option will get selected after the refresh <1> I wonder why I'm trying to find a way to do it like this... it's my fault I haven't managed that before, I'll do it from php <2> you can keep talking to yourself for now ;) <1> :P <1> ah... maybe you know <1> I have a weird problem in FF <1> it shows me the "loading state" - that green bar - when I swap pictures on mouse over <1> not all the time <1> just... some times <2> ask FF <1> I don't think it's FF's fault <1> in fact I do <1> but I think it can be fixed, it's my fault too somewhere <1> I belive it has something to do with iframes <1> the ones that I dynamicly add <1> any idea? <1> useless... well my problem is that when I hit refresh the option that the user selected is still there <1> I'm the user :D <3> hey everyone <4> <=noob so bare with .... I need to find a way to use one or two lines of code to get a series of images dispayed in a series of <img>'s I need something like document.images.image[x].src=whatever; though Im pretty sure thats not going to do it <4> anyone have any input here <1> document.images['imgName'].src=whatever; <1> that's going to do it :) <4> I have this ... and it seems right but when it runs it just goes right past it like nothing ever happened ... document.images['image'+x].src=img_info[y].name; <4> is this even close to right ... x and y are counters <1> it is <1> try with document['image' + x].src <1> I was wrong at first I think <4> you mean document.image['image' + x].src or are you saying take out the .image <4> tried both and still nothing <1> document['image' + x].src <1> like this <4> here is what I have got http://pastebot.nd.edu/299 <4> I tried both already BTW <1> try it as I've said <4> I did <1> what about using more explicit links? <1> with out .. <4> kinda confused on how to do that ... aside from giving it a full URL which I cant do cause it will change once I upload it and I dont know the full path to the system it will reside on ... intranet (school project) <5> hey all <5> is there a way to save the checkboxes checked? in other words, let's say there's a huge list of checkboxes, and u want to save the ones checked so just in case something happens <6> How can I load a page into a variable? I want to load "http://www.example.com/cgi-bin/somefile.cgi?check=updated" that returns either 1 or 0. The javascript will, ofcourse, be executed from the same domain and even the same script. <6> The idea is to know if there has been an update or not, and refresh the brower window based on that information. <7> Hi all <7> question is <7> <div align="center" onMouseOver="dtext()" onMouseOut="dtextout()"> i wan tto use mousover and out function in div tag.. is it possible if yes then is this the correct way of calling the funtion? <8> HisXLnC, yes <7> but it wont work archaeus http://pastebin.com/632396 <7> have a look plz <8> of course it won't work since the functions are not ok :)
<9> s/text.style.display=""/text.style.display="block"/ <9> What is 'text' anyway? <7> text is the div id <9> Ah. <9> s/text/document.getElementById('text')/ as well then <9> Dubious name too. <9> http://pastebin.com/632406 <10> ImageButton img = (ImageButton)this.Page.FindControl("ImageButton1"); <10> sorry wrong window <7> Hey Pilum thanks.. it works :) <7> hey Pilum.. i made a few changes and it stoped working again.. http://pastebin.com/632452 can u have a look plz <9> == to compare <9> And javascript does have an else if() structure <7> okies <9> Although it's not neccesary in your case. <6> Anyone have any ideas for my problem? Anything I can google? Anything at all? <6> Since I don't know what it's called, google seemingly only returns irrelevant hits. <9> Demonen: Ajax. <6> oh. <6> I thought javascript might have some var something = fetch.url('http://....'); <9> No. <9> But ajax will get the value just nicely. <10> Ajax? <6> Pilum: googling the lines warm... <10> is there a way to check if an image is over another image ? <6> Pilum: Works like a charm now. Thanks :) <11> how to get year in firefox? i'v tried getYear() but not works <8> poste9, how do you get it in IE ? :) <11> data = new Date(); <11> ano = data.getYear(); <8> poste9: that's correct <8> http://www.w3schools.com/jsref/jsref_getYear.asp <8> what exactly isn't working in FireFox ? <11> http://alltec.edu.ms:1234/alltec/alltec.php <11> i dont know if u'll understand <11> but my getYear shows 106 <11> o0 <8> poste9, since you're using php, why don't you do a <?php echo date("Y);?> instead ? :-P <11> yeah =] <11> xP <8> date("Y"); <11> ty <11> x] <11> aspohiuas <8> poste9, I found the solution (in javascript) <8> use getFullYear() ;) <8> it works ok in FireFox <11> hmnmnmn <8> and also in IE ;) <11> yeah <11> ty again <8> u welcome <12> I use a simple "checkbox" program to validate certain user inputs. Multiple choise questions. It works fine- (example here: http://www.knudekunst.dk/dansk/verbal/ ) its sort of a quiz. But now I need to make one with a lot of pulldown menus, but I cant get the code to work the same way <12> my non-working example is here: http://www.knudekunst.dk/dansk/komma/ <12> I think its something with how I use .selectIndex - but I have tried a lot with no succes <6> I have a <div style="overflow: auto;">, when it overflows, and becomes scrollable, how can I have JavaScript scroll it down all the way? <8> Demonen: http://www.google.com/search?hl=en&q=javascript+div+scroll&btnG=Google+Search <6> I should have done that before asking, ofcourse. Thank you. <8> ;) <12> I lost connection- so im gonna ask again- im a bit lost:-( <12> I use a simple "checkbox" program to validate certain user inputs. Multiple choise questions. It works fine- (example here: http://www.knudekunst.dk/dansk/verbal/ ) its sort of a quiz. But now I need to make one with a lot of pulldown menus, but I cant get the code to work the same way <12> my non-working example is here: http://www.knudekunst.dk/dansk/komma/ <12> I got the error "Selectindex is null or not an object" <6> haha, theese examples are insanely complicated, and all I needed was Div.scrollTop = Div.scrollHeight; <6> Now, what I have googled, but could not find, is how to tell what time it is in JavaScript ... In UNIX Time. <6> The Date function converts from UNIX time, so logically it should also convert back, or even cough up UNIX time on demand, yet I can't find anything on the subject. <6> It seems a little silly to make a perl script and query the server for the current UNIX time <10> is there a way to check if an image is over another image ? <9> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/date.html#1195078 <6> This ajax stuf rocks. also, a blank Date object holds the current time, getTime gives UNIX time in milliseconds... *figured it out* <6> Odd that it dosn't say so <6> anyway, thanks for your help. <6> *detatched for a while* <10> yes it does
Return to
#javascript or Go to some related
logs:
aoyama kun boasoft merlin tinqeridx #java #java volleyball tips/instructions #AllNiteCafe patit B
the nautical term for a distance of three miles python for windows mobile
|
|