| |
| |
| |
|
Comments:
<0> hi <0> is there an event like onfill? <0> "on field has something"... <0> i want to detect file when choosing one file from an image field <1> anyone know why it doesn't works ? http://www.nomorepasting.com/paste.php?pasteID=62178 <1> the function that checks if at least a CHECKBOX is selected doesn't works... just the one that select/unselect all checks <2> you only have one checkbox there <2> you need to do something like "SetAllCheckBoxes"
<1> ht311 in this case I have just one <1> but that's interactive.. it may have 100 <2> yes, but you didn't handle the length like you did in "SetAllCheckBoxes", you wrote that? <1> that set all no <1> that's why it works <1> hehee <3> has anyone every got "document.getElementById is not a function" error in firefox or can anyone suggest why this might happen ? <4> you must be usign it in the wrong place <3> SufiBlade: wrong place ? <3> its in the onclick of a button <4> show <3> <button onclick="document.getElementById('ib_image_file').style.display='none'">click me</button <4> that seems alright <4> button is <input> isnt it? <3> another one is <button tabindex="15" cl***="popupbutton" onclick="(document.getElementById('ib_image_file').style.display=='block')?document.getElementById('ib_image_file').style.display='none':document.getElementById('ib_image_file').style.display='block';return false;">chooser</button> <3> you can use button as well <4> i dont think firefox likes buttons <3> will give it a go with input type="button" <3> nope same thing <3> <input tabindex="15" cl***="popupbutton" onclick="(document.getElementById('ib_image_file').style.display=='block')?document.getElementById('ib_image_file').style.display='none':document.getElementById('ib_image_file').style.display='block';return false;" value="chooser" type="button"> gives the same error <4> erm...that doesnt seem right, but im only a beginner <4> are u trying to use conditions without using the 'if' ? <3> yeah its been part of javascript for ever <2> yack <3> thats weird I changed all the document.getElementById to $ (prototype.js) and it works find ... does prototype messs with document.getElementById ? <5> yop all <4> anyone know a good show/hide div(s) example? <6> dose anyone knows how do i get rid of UTF8's BOM in my page? <7> hm, I don't know why asp.net displayd the utf-8 bom ... <7> I had similar problems before with the stupid utf-8 bom. I manage to resolve it tho, but I don't recall how. <7> and ofc, it only breaks in IE ^-^
<8> That's irony at its best. :-P <7> indeed. <9> hi, i am using javascript with firefox..Could anyone explain me why java script would stop functioning when i try to do a particular function by pressing a button and then working very fine when i tried the same thing but going step by step with a debugger???? <2> because you doing stuff while the page still loading? <9> yes i think so <2> do it when onload happen then <9> no, that is what i do <9> i have a DOMContentLoaded eventhandler <2> i still think is timming issue. not going guess more until i see it. <9> well i guess that's what must be it <10> hello, i want to put the height and the width of a div when the page load with a js variable, <10> i want to know how to put the size in the div <10> can i do something like that, <div style="height: heightvariable px; width: widthvariable px> <2> mydivRef.style.height="10px"; <10> that is what i do now, it work, but it draw the div and resize it after, <2> put it hidden first and then size/display after <2> really depends on what you want. <2> may be you should write out the tag with proper height and width with serverside code <10> i wanted to see it right sized at load, but it work anyway <2> so you should use serverside code instead of javascript <10> i could, but my variable is the window.innerWidth-275 <10> i want the div to resize on the window size, -275 px, because the margin don work good on msie <2> then use the hide and show way. i can't tell you to use some other really "bad" way to do it <10> it doesnt work because the div is overflow hidden, with scroll <10> this is only for msie, it doesnt work fine, and i dont even use it, :( <2> set the "display:none" or "visibility:hidden" first, and show them after sized <10> i will try it righ now <10> visibility hidden, and to see it is show ? <2> set it to "visible" after <10> wow <10> it is better looikng <10> ah show work too, <10> :P <10> i have another probleme, i dont have msie on ma mac :( <10> my <11> hardly anyone does... dead product <12> hey <12> anyone around?
Return to
#javascript or Go to some related
logs:
#linux atax bash.org eAccelerator can not be loaded twich #AllNiteCafe #javascript [nickmenza] sucker #windows #javascript mirc sexnet channels hughesnet vnc
|
|