| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> salutations matinales / morning greetings <1> hello <1> I have a page with a iframe <1> it is posible to execute e function in the main page from the iframe ? <2> If they're both on the same domain, yes. <1> they are <1> can you tell me how please <2> parent.whatever <1> can you be more specific please .. I cant't find paren. in the manual <2> Wouldn't call it a manual then. <2> parent is the parent window/frame <1> onClick="parent.right_frame.document.form1.text1.value='Me!'"> <1> so in here instead of right_frame should be the window name ? <2> No. <2> That's when you work in a frameset. <1> ok .. got it .. it works
<1> thanks <1> Have a nice day. <3> hello <3> I need help <3> when I try to get the value of document.forms['form1'].score.value <3> I have nothing <4> .score? <4> wtf is score <3> score is a input <3> <input type="text" name="score" size="1"> <4> hmm ok <4> sorry i gtg... <3> plzz heellp me <4> someone will answer soon <4> just wait <3> thx <3> I have this pb with ie 5 & 6.0 <2> When are you trying to access it? <0> brb <0> re <5> hello <2> Hello. <5> im just starting to learn javascript, im trying to figure out how to write a simple program for factorial of n <6> http://www.cis.upenn.edu/~matuszek/cit597-2003/Examples/simple-javascript.html <5> thx <7> Factorial? u didn'T chose the easiest programming concept to start with... as you need a recursive function, and this is some awesome concept <0> factorial ? recursive ? <0> n! = 1 x 2 x 3 x x (n-1) x n <5> furtive which code is the one they use? there is like 3 codes in source code <5> im confused there <6> the first one called is the compute function, in it the first thing it does is calls the validate function to make sure the number entered is between 1 and 25, if it is then the compute function calls the factorial function, which does the work. <7> function Fact(n, total) { total *= n; if(n > 0) Fact(n - 1, total); return total; } <-- somethinglike that... <7> L`OcuS that is the perfect example of a recursive function <2> But you don't need it to be. :-) <7> indeed, but what's the point of practicing a factorial function if it's not to understand the recursion concept... this must be some school work... that is how i learned recursion <7> (is it recursion or recursivity?) <2> Indeed. <0> you can do it without using recursivity <5> how? <0> function facto(n) { var i, r = 1; for (i = 0 ; i < n ; i++, r *= i) ; return r; } <2> That'll return 0 every time. :-P <0> no, try it <2> You multiply by 0 <0> i++, r *= i <2> Ah. <0> oh :) <7> you're more leet when u use recursivity :P <5> i dont think so....recursion ****s <7> lol <7> stay in javascript :P <5> lol <5> for/while loops are better <7> yeah right <5> it is <7> both concepts have their use and saying recursivity ****s is an error <7> recursivity can make up some very solid algorithm <6> http://video.google.com/videoplay?docid=-2460944945363859076 <7> nice one furtive <5> lol <6> hi ht311
<8> 'morning <8> http://video.google.com/superbowl.html <6> yup <6> stunt city was best one imho <5> magic fridge <8> that is a old one <6> the roof one was better <5> godaddy! <5> GODADDY one beats everybody <5> lol <8> yeah, the roof one is good <6> godaddy ones ****, i got bored after 2nd one <8> the windows washer one is ok. others just old <5> fedex one was alright <5> it was funny when he kicked that little thing <5> lol <8> wrf, google censoring me, i can't see the gsk as. <8> ad. <6> same here. first time. <6> although i boycotted the gsk ad <8> i s a drug ad. guess is requested by GSK <6> a batch after that i can't see either <8> but i do worry more and more about google <8> http://dystopics.dump.be/2006/02/04/the-mysteries-of-x-google-token-and-why-it-matters/ <6> neat <8> ... people hate ms when they try to do that, not sure if they will like google when google did that, when every piece of google things come together, it will be scary <9> http://pastebin.com/541608 <9> help... <8> funny, when you click on the playlist, it by p*** the country checking somehow <6> javascript: get rid of that <8> the GM ad. beat the Ford's one. <6> and why would you want to change the meaning of the href after the initial click? are you trying to get it to submit right after? <6> hi NeoFuture <9> i need to know just what the user choose , what button ... <9> in php ill write -- if user choose button 1 then... if choose button 2 then <9> so i need to check what button he clicked in the <form> <10> hi furtive <8> google video is full of script err, sloopy <6> Angelina_ you didn't answer my question <11> hello <11> has anyone in here ever used the script htmlarea ? <6> silence == no <10> lol <10> ON mention htmlarea set mode +k {nick} <11> lol <6> cool: http://www.cbc.ca/story/canada/national/2006/02/05/jumbojet060205.html <11> :( no help.... <11> goodbye o mercyless channel :D <6> he coulda asked something more specific. <8> furtive: this happened a while ago too http://seattlepi.nwsource.com/business/247531_recordflight09.html <6> i like flying in 777 <9> furtive: look <6> but not if it will be for 24 hours, hehe <8> couldn't find the piece i read, the air control in canada when talking to the plane, they know something funny going on, the flight plane didn't make sense to them in the begining <9> i got 2 input buttons in form. and i need to tell php what action to do depends on user click .. if he click on button 1 then do action 1 ... if button 2 - then do action 2 <8> s/flight plan <9> so i need to set hidden field with value of 1 or 2 depends on user click and then submit the form <8> put 2 submit button with differen value <8> i use the way you just said, i set hidden before submit <9> but i have form with more parameters <9> i did: <input type="submit" onclick="this.form1.hf.value = '3333';" value="bb"> <br /> <9> <input name="hf" type="hidden"/> <8> use hidden then, didn't really matter how much you submit, <6> Angelina_: http://pastebin.com/541652 <10> me looks at j00 <12> Hey Neo <10> hey <12> Jabuuuuuuuu <8> neo:what do your mean <12> ht311: since the last time he tried it.. if its better since then <12> the later releases <8> sure is better than crappy beta 1 <8> the gl*** work
Return to
#javascript or Go to some related
logs:
#c #linux #linuxhelp anime-network @ dalnet #linux #chatzone sirsands start two programs +script #linux #javascript
|
|