| |
| |
| |
|
Page: 1 2 3
Comments:
<0> sorry maty <0> playgin wow, heh <0> looked at it, but I was unable to conjure soemthing useful since the radios wasn't named / id right <1> how arent they named though? <1> i did it specifically like that really, so that each row was ***igned like question12_answer1 which can contain 1,2,3,4,5,6,7,8 <1> i thought it was logical anyway, works ;) <1> this is only 1 question out of 18 ive had to make, ive validated all the others, just this last one <2> back <1> NeoFuture i saw him too <1> was a bit crap actually, some of his other shows were 'ok' but that was the worst one ive seen <3> yeah its not real <3> its all fake <3> and now im pissed off <3> lol
<1> lol <3> i thought he was a real chav <1> i did too really.. until you said, weren't 100% <3> well if you watch the web vids the guy with the long hair is the guy that was in the one on tv tonight <3> the one with the buss ticket <1> ahh <1> did you see that thing after about dog football or whatever it was? <3> no <3> turned it off <1> as you are the don of JS.. don't suppose you saw the problems i had earlier did you? <3> nah mate <3> whats sup <1> sorry m8, one sec, just clearing some room :p <1> well, basically mate, heres the sample ive uploaded <1> http://www.hackeradio.com/questionnaire.html <1> containing tons of radio buttons, each line of radio buttons is a a group, such as question12_answer1 for the top row, each with their own values 1-8 <1> basically, on submit, i need to check to make sure that 1 has only been selected once, 2 has only been selected once and so forth. get what i mean? <3> yeah kinda sorry i was coding lol <1> nps, no rush at all <3> not really got the time to help right now <3> BUT to check a radio button you need some code <1> im ok to check buttons etc <3> for (i=0;i<document.forms[0].radios.length;i++) <3> { <3> if (document.forms[0].radios[i].checked) <3> { <3> user_input = document.forms[0].radios[i].value; <3> } <3> } <1> but i just cant logically think how to check if only 1 has been selected once an so forth <3> well you need to loop and check <3> where radios is the name of the group of radio buttons. <4> hi <4> i am trying to get my script to collapse all of the links that i have except the one i have selected...but i've been unsuccessful so far <4> i'm trying to make it so only one header is expanded at a time, so if another is clicked, the current expanded one collapses <4> can someone check my code out and see if there's something i can do? http://pastebot.nd.edu/449 <5> in rich text editor, on keydown event, i check for keycode==13 and then stop the event and add <br> to the body myself to avoid the editor automatically putting in <p> tags. this is to avoid the double line spacing that results when user hits enter key (the default behaviour in IE) <5> but the iframe doesnt seem to parse the <br> tag as line break until i hit the next character <6> how to check if a variable exists? <7> typeof <8> hi examancer <8> hows it going <6> if (typeof(table***ist) != "undefined") { ...... is this fine? <6> ok it works, thanks :) <8> did you guys know <8> $(blah).style.color = "blue"; <8> is the same as <8> document.getElementById('blah').style.color = "blue"; <0> it's not the same. <0> $('blah').style.color = 'blue'; // would be the same, that is if you'r using the Prototype framework. <8> yeah, i just realized that :p <8> you don't need the quotes, btw <8> $(blah) works just as well <0> No, only in IE in that case. <8> works on Opera <0> In strict mode? <8> seems to work on firefox too actually <0> I wouldn't know about Opera, never used it, I'm not in favor of shareware/adware user-agents. <0> setup a small testpage and put that online. <8> it's freeware
<0> I'm not a favor of Prototype either. But since you persist I would like to have a test-page. <8> without ads <0> Is that a new feature in Opera? <0> It used to be adware right? <8> im just testing it out right now too <8> no, Opera is free without ads <8> they changed it ;\ <0> yeah, that's what I meant if it was a new feature. <8> no need to register to remove ads anymore ;\ <0> :) <0> well anyhow, if you could write a test-page, that would be nice. <0> (I don't have prototype) <8> <div id="blah" onclick="$(blah).style.color = 'blue';"> <8> This is a test <8> </div> <8> that's about all i have :p <8> and this, ofcourse: <8> <script src="/js/prototype.js" type="text/javascript"></script> <8> how exactly can it body the parser to accept $(blah) ? <8> how exactly can it modify* the parser <8> oh right <8> it can't <8> function $() { <8> lol <9> http://www.html-channel.com/pastebin.php?id=18 <10> Heh. <10> What a messy script. <9> hehe <9> i know <9> can u help me pls? <10> Why do you define function rectangleArea twise? Or even, why do you define it at all? <9> That was the method I found that worked. I'm not so keen with javascripting <9> I tried many things but did not work out <10> Well, defining it twise serves no purpose. <9> can u help me doing it better? <10> I can <9> Thanks i appricate it alot <11> has anyone here used javascript in conjuction with ASP.NET 2.0 ? <9> no me never <10> http://www.html-channel.com/pastebin.php?id=3 <9> http://www.html-channel.com/pastebin.php?id=12 <9> It looks great & well organized but did not work all with the rectangles <10> Whops. Small quote error. <10> http://www.html-channel.com/pastebin.php?id=13 <9> hehe <9> thanks alot its great :) <6> Number.prototype.roundDec ? which of that is javascript and which is user defined? <6> new to this <10> You saying some of it isn't javascript? :-P <10> Number is a native object. And prototype is a construct which is one of the foundations of javascript. <10> Using prototype, I added a new method (roundDec) to the Number object (i.e. all numbers). <6> ahh interesting! i could make a lot of use of this <10> Indeed. <12> http://www.html-channel.com/pastebin.php?id=14 <12> can someonehelp me pls <10> The length? <10> The length of the array is not stored as its first element but in the length property. <12> what I am trying to do is that I neew to creat an arry called bigarry, but i'm uncertain how many elements it will contaion. So what I am trying to do is that it will obtain the lenght of bigarry and copy's it to myvar <10> Why? <12> that was i was asked to do <10> Silliest thing I've heard in a long time. <12> i agree with u but i can't do nothing <10> The length is already stored in BigArray.length <12> something is not working in what I did can't obtain any good result <10> Well what do you have now then? <12> <12> http://www.html-channel.com/pastebin.php?id=14 <10> After what I said you haven't done a damn thing? <13> Pritt^: do you remember how to declare an array? <12> furtive:- i have to see in my school notes <13> yeah, compare that to what you did at line 5 <12> I can to no conclustion. I wrote another small script but still with error <13> Let me rephrase that: do you know how to declare a new Array(); <12> not that much
Return to
#javascript or Go to some related
logs:
google analythics #mysql sexwithme #chatzone #MissKitten #java #chatzone krexz cum sa floodezi un ip #chatzone
|
|