| |
| |
| |
|
Page: 1 2
Comments:
<0> anyone online? <1> * Sir_J has quit IRC (G-lined (AUTO [6] Automatically banned for excessive connections)) <1> oooh dear <2> hi, can anyone help me?' im a beginner... i have a function that accepts an argument.. and i want to put that argument into an object like this.. for example my function with the argument is pulldownmenu(forma) { var url = document.forma.categoria.options[document.forma.categoria.selectedIndex].value } but is not working.. <3> document.form[forma] <3> document.forms[forma] even <3> Or better yet, p*** the form reference as an argument and use forma.categoria.options[... <2> but the thing is the name of the form is the one that changes.. (is the argument) <2> its supposed to be document.NAMEOFTHEFORM.categoria.options[document.NAMEOFTHEFORM.categoria.selectedIndex].value <3> My first response told you how to do that. <2> didnt work <3> document.forms[forma].categoria... <2> var url = document.form[forma].categoria.options[document.form[forma].categoria.selectedIndex].value <3> I corrected myself.... <2> it works now.. thank you very much <3> Btw... where are you calling this function from?
<3> If it's from "categoria" then you should just p*** 'this' as the argument and use obj.options[obj.selectedIndex].value <3> Bbl <2> im callin it from a list.. onchange() <2> but there are many forms .. with the same name and an id to differenciate them <4> Mwahaha AJAX is my hoe <4> Except XML DOM is pretty retarded :( <5> http://codingp***ion.blogspot.com/2006/05/aspnet-20-callback.html <5> IcyLiquid - check that out about XML dom <5> interesting Javascript can load an argument from Server side into an XML <5> somehow <6> hello ! <6> i have a question: is Javascript able to store data from variables in a file ? <3> No. <6> good :) <4> Lol <6> i'm a noobie so don't laugh :P <4> I was laughing at your response of 'good', not the question :) <6> i've answered "good" because i was thinking myself of that answer :) <6> i see that php is able to work with files <4> Yeah <4> You can submit data to a php file using javascript, easily enough <4> Pilum I have an interesting question <4> Can you var someNewForm = new Form; < put code here to add objects to it> and then submit it, without integrating it into the document tree? <3> Why would you want to do that? <3> You don't need a form to submit data... <4> It just came to me now. I havent thought of a use for it. <4> I realize that. <3> Would be a waste of resources if you ask me. <1> help vampire !!!!!! <1> http://www.slash7.com/pages/vampires <6> NeoFuture... i don't think i'm a help vampire beacause i'm willing to learn myself but i've asked for a starting point <6> it is hard for me to study all the languages and codes untill i will find the one i look for... <6> hey everybody! look what a great resource i've found: http://www.webdeveloper.com/java/java_jj_read_write.html <3> That's java. <3> Java and javascript only have the name and syntax style in common. <6> ohh.. i see... javascript can be interpreted by browsers, but java don't <3> And it's still serverside. <6> true :( <3> Javascript can be interpreted by anything with a javascript engine. <6> i was thinking about those guestbooks that are on websites... you enter there some text and it gets stored on the server. ***uming that the server is on my computer, can i use the same method ? <3> Sure. <3> I do that myself in fact. :-) <7> whats the linebreak char for use in document.createTextNode? <3> \n? <8> hello everybody! <8> how can i format the number . if 45,237 then 45,24 ... and if 45,001 then 45,00 ? <8> sory for my english. not is good <3> Math.round(number*100)/100; <8> pilum thnx . but with this funcion, if 45 the result is 45 and not 45,00 <3> Indeed. <3> Which is an issue you'll have to sort out when you display it. <8> do you have me a example? <3> 45 + ",00" <8> but if the number is 45,237 the result is 45,24,00 <3> That's why you havt to test wether it has any decimals. <8> ok, i try. thnx <6> can anyone recomend me an easy html server in wich i can integrate an php server ? <6> i have an apache_2.0.55-win32-x86-no_ssl.exe kit <6> i'll test it
<6> hope i can install the latest version of php into it <3> You can. <9> I remember those days <10> hey, anyone knows how to split a string using more than one string, eg split at " "s and "/n"s ?? <10> i know i must make a regular expression <11> yup <10> but could not do it <10> :( <11> i don't know enough regexp to help you <11> i you can replace all the /n to " " first then split with " " <10> **** <10> should work :S <11> there is always an easy way <11> :D <10> feeling silly i didnt think of that lol <10> thank man <10> u girl lol <10> *or <10> not u <11> If I am a girl, I will appear in your nightmare <10> hehe <12> is it possible to use indexOf in a array <13> Array.prototype.indexOf = function(v){for(var i=this.length;i>-1;i--)if((typeof this[i]!='undefined') && (this[i] == v))return i; return -1}; <12> a yes or a no would have been okay <12> if (aArray.indexOf(cardRandom) != -1){ <12> is this good <13> excuse me? <12> is this good or not <12> ? <12> esti que t laid tabarnak de nerdz de calice suicide toi tabarnak!!!!!!!! <14> [Torgo] is there anything in domapi to render tables with a fixed thead? <13> just listgrid <13> i was working on something called simplelistgrid for a while that would do that, but never finished it <14> k <15> hi guys <15> how can I create Array in child window for parent window <15> in child window <15> this construction opener.a = new Array(); doesn't work <15> i mean IE, mozilla ok <16> yop@all <17> there is a way to enable css and html in mail ? what header should i put there? <3> Lo dave-e <18> Pilum: thanks for the help with my forms... im gettim more familiar with that now <3> Np. <18> i even wrote a validating function on my own and it works:D <18> where's the wow part?:P <3> "Wow" is when something amazes me. You do not. :-) <18> my gf says wow.... <18> :P <3> ... when you do the dishes? :-P <18> no when i do her:P <3> She probably wouldn't have remained your gf for long otherwise. ;-) <18> nah i cook too :P <19> hi guys <19> can I make a explorer window to maximize itself on load? <3> Specifically #8 <19> huh? <19> do you talk about me? <3> No, I talk _to_ you. <19> sorry for my english <19> what did I do? <19> against the rulles? <3> Read them and find out. <19> well, I speaked english, at list I try to, I asked the question... Why are you so agresive? <3> Rule number 8: "Stop messing with our browsers!" <3> I never even once mentioned your language. <5> I cannot understand that rule <5> what is meant <5> with our browsers? <5> :s <3> It's explained on the rules page.
Return to
#javascript or Go to some related
logs:
sxxxxxxxxxx besa me #java #AllNiteCafe sweetpieceofash.com Mnihri ubuntu open port 3306 #chatzone #AllNiteCafe porcu pulii mele
|
|