| |
| |
| |
|
Page: 1 2
Comments:
<0> Before the textNode thing. <1> ahh ic <1> thnx <1> how do i make it so that it is clickable? <0> Give it a name. The same name as the other radios it is to be grouped with. <2> sub`skul you might consider using .setAttributes to set the name if you want it to appear correctly into the form posted, had some issues once about that in firefox <2> no it was IE that would'nt post my elements <1> 0ohh <1> so radioBtn.setAttributes = ?? <1> syntax is right? <2> google my friend
<1> ok =) <1> radioBtn.setAttribute("ansc","answerc"); <1> hmm <1> still cant seem to click it <3> Is there a trick to swapping list elements? This isn't working for me. http://sukotto.pastebin.com/777943 I also tried using replaceChild() and that's not working out either. http://sukotto.pastebin.com/777951 Where am I going wrong? <3> (No luck search for element swapping on google... it just gives me a lot of image-related stuff) <4> ask the parent to replace <4> you also need insertBefore after <1> var radioBtn = document.createElement('INPUT'); radioBtn.type='radio'; cell.appendChild(radioBtn); <1> radioBtn.setAttribute("ansc", "answerc"); <1> wats wrong with my declaration? <3> ht311 I thought I was doing that in http://sukotto.pastebin.com/777951 . <4> no, you need to ask the parent of both catList[0] and catList[1] to replaceChild <4> you asking catList[0] to replaceChild, but since there is no child to begin with <3> *smacks head*... of course!. Thank you! <3> so catList.parentNode.replaceChild. <4> sub`skul, it look ok from the code you post <4> sukotto, yup <1> http://dark-code.bulix.org/lej955-15024 <1> i cant get my buttons to work <4> catList[0].parentNode <4> sub`skul, you have a working page somewhere? <1> http://dark-code.bulix.org/lej955-15024 <1> this one.. <4> this is a paste code, i mean the actual html page <1> oh <1> i dont have one.. <4> duh, someone told you to give a name to the radio buttons <1> ermm <1> but doesnt <1> setattribute <1> give a name <1> oredi? <4> and you actually have <marquee> in the code???????? <1> LOL <4> anything that cna ***ign the name <1> radioBtn.setAttribute("ansc", "answerc");<--doesnt this ***ign? <4> I am sorry but WTF is ansc? <1> LOL <1> name? <1> LOL
<3> that ***igns the string "answerc" to the attribute "ansc" <1> ohh.. <1> so how do i ***ign it to the one being stored in the array? <4> guess <1> LOL <3> Cool, got it working. Thanks for your help ht311. <5> "LOL" <5> You should just bind a key to that <6> hehe <5> It must be troublesome having to type it out that often <6> oh it is a bind key <6> LOL <6> joke =P <7> is it possible to make a simple javascript that outputs the date like this, 28.08.2006? <0> Yes. <0> Look up the Date object. <7> do you know about any good javascript tutorial where i can look up date object? <0> Better. <0> I know a reference. <0> http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.5/reference/date.html#1193137 <7> thank you. <6> var radioBtn = document.createElement('INPUT'); radioBtn.type='radio'; cell.appendChild(radioBtn); <6> radioBtn.setAttribute("ansb","answerb"); <6> mr pilum sir <6> wat am i doing wrong here? <0> There is no "ansb" attribute as far as I know <6> i thought i was ***igning <0> And you use it before appendChild <6> a name to the button? <6> oh <0> Then specify the NAME attribute for God's sake! <6> LOL <6> thank you <4> damn, you said you get it working before and you change "ansc" to "ansb" ? ...... <6> LOL <6> i didnt <6> nono <4> not funny at all now <6> wah.. <8> Hello.... Could anyone give me the code to start a .js-file??? I vagely remember it was something like <[[[ and the closure was ]]> but could anyone provide me with the correct code?? <9> errr....... <8> Anyone? <9> <script type="text/javascript" src="path.js"></script> <0> Svenn: I mentioned the CDATA part, but that was _not_ for the .js file. <8> Pilum: Wasnot?? <8> I have used the js-file which I used on www.neverbealone.org, on another page www.villaveien-skole.no - but themenu is folded out all the time.. Which it's notsupposed to.. <8> I do believe there was a thing 'bout the CDATA-thing you solved it with.. <0> That's for JS in a _script_ tag. <8> But why does the menu change when I just copy it to another webpage? <8> It's identical..
Return to
#javascript or Go to some related
logs:
apache make: *** No rule to make target `uninstall'. Stop. wget scan high off gasoline #linuxhelp lesfille brogchat hotmail.life
hononyms #gentoo maj mader
|
|