| |
| |
| |
|
Page: 1 2 3
Comments:
<0> hey guys I am having a problem with my JS. is there anyone online who can give me a hand? <1> Depends <2> well let me hit ya with it and see :) <2> for (i = 1; i <= vstring.length; i++) <2> grr <2> wont do multi line post <2> one sec <1> Don't paste in the channel. <1> pb.html-channel.com <2> http://pastebin.ca/40930 <2> thats obviously just a snippet but i dont want to embar*** myself too badly by showing you my poor coding skills :) <2> basically it is going through the for loop, but not doing anything inside the loop <1> If you're embarrasing yourself it's by giving inefficient data for me to debug it. :-) <1> *insufficient <2> hahaha <2> ok
<2> one sec <3> if (vstring.charAt(i)="@") --> if (vstring.charAt(i)=="@") <3> same below <1> And you're looping too far. <2> http://pastebin.ca/40933 <3> ja <3> should be 0 to < vstring.length <2> i really should use dreamweaver but i dont like using that stuff. i prefer my textpad :P <1> uinput.address.value -> document.uinput.address.value <4> hmmm how dreamwaver will help you on that? <2> it wont just make it look pretty <2> and it has debugging software doesnt it? <1> And you don't have to initialize the variable before you ***ign the field's value to it. You can do that in one go. <4> you are dreaming with dreamwaver <2> yeh thats what i originally had but i started messing with stuff when things werent working :) <2> ill change it back <1> http://pastebin.ca/40934 <2> ill check it out <2> it still is dying for me <1> What are the flags for? <2> i was originally going to have it in a loop and exit and stuff but now its just outdated <1> And this is supposed to validate an e-mail field is it? <2> yeh basically i just have to validate all the information <2> for email <1> (You should brush up on your html knowledge btw) <1> Google for an e-mail regexp. <2> yeh this weekend i am going to update myself and learn xhtml <2> wont take long but w/e <1> And if you want to run the validation onclick on the submit button, then you must have onsubmit="return false;" on the form and submit the form from the function if the fields are valid. <4> learn html and dom and js first, xhtml don't mean anything <2> well is it not just the new html basically? <2> i havent cracked open a html tutorial for like 5 years and i barely use it so im pretty rusty :) <2> i just need to finish this stupid thing for school <4> xhtml is not new, just make sure you write well formed html , plus some useless tags are gone <2> aa <2> yeh from what i read about it it seems like a pain more then anything else. just more work then need be. but for you guys who know what you are doing im sure its a good thing. <2> <b> over <b /> any day :P <5>Trout</marquee> <1> <b /> doesn't make any sense heh <2> isnt that the new thing in xhtml that you have to close every tag? <6> <blink>long live html 4!</blink> <1> Truly: <b> always had a close tag. <2> sry im dumb i meant <br> <1> :-) <2> anyways as far as my problem goes is there a dumb mistake that i need to fix or is it a pile of them? <4> and <b> has no semantic meaning, it is consider bad tag nowaday <2> what you supposed to do like <font=bold> or something? <1> Yeah? <1> How come it's not deprecated then, ht311? :-) <7> <strong> or <em> :) <2> lame <1> <font> is deprecated however. <2> ill stick with my <b> until they force me to use something else lol <4> Pilu, good question, why it is still there ... <2> o well back to messing around with this thing <1> Java? <1> What has that got to do with anything? :-) <4> Truly: you are much more than rusty
<1> He truly is. <1> Pilum the greatest comedian of all time. <2> lol <2> ive head that loads of time <2> my full net name is Truly-Canadian so i get name cracks all the time :P <2> and yeh ht3 i am much more then rusty <2> so help a brotha out and do my hw for me :) <6> as you should <2> starting monday we are just switching over to java and leaving out the script :P <2> im used to vb and the syntax in java is really different compared to vb <2> personally i would prefer c but o well java it is :) <1> Java != Javascript <2> i know <2> we are only doing javascript for a week while the admins install java <2> :P <1> Heh <2> so i have been doing js for less then a week <2> thats why i **** so much :P <4> yeah, let java eat you alive <2> client **** im fine with. i made all sorts of stuff in vb <2> different ball game but still <2> alright fine if no one is going to help me im going to go sulk and see what i can pull off :) <4> yeah, vb let you walk beyond the string length <4> you got all the answer already .... <4> fix those frist , and ask more specific question <2> no ht3 its still not doing anything in the for loop <2> unless i missed an answer that you guys said <2> but pilum posted a fixed copy in the pastebin and it doesnt work <2> o well thank you for the help. <8> hello i have a problem.. say that i have this job[1] how can i fill it from the url? something like this? index.html?job[1]=employ ??? <8> i want to fill it with arguments.not from the source <8> anyone can help me? <9> huh? <8> or i cant do that? <8> say that i have this identifier job <8> job[1]="employ"; job[2]="worker"; <8> how can i do that with argument? just like in php? (index.html?job[1]="employ"&job[2]="worker") <8> like that? <9> no idea what you're talking about <8> in php you can fill the identfier like this index.php?username=1234&p***word=1234 <8> in javascript isnt this possible? <9> no idea what you're talking about <8> ok thanks <10> hello, i have a problem i create a new window myWindow = window.open('myaccount.php','', 'HEIGHT=600,resizable=yes,WIDTH=820'); then i do myWindow.document.hiddenform.submit(); and it appears on the javascript console of firefox that myWindow.document.hiddenform has no properties even though i do have such a form <11> For XMLHttpRequest, I use req.onreadystatechange=someFunc to make the request call someFunc() when its state changes. Is there a way to p*** args to someFunc? When I try onreadystatechange=someFunc(arg1,arg2) it seems to call someFunc once and probably tries to ***ign its return to onreadystatechange. <12> why don't you use a global var <11> vard: because I want the same code to work on 2 different xmlHttpRequests <11> hmm... Can I just use a {} block as a function reference? let's find out... <11> request.onreadystatechange = function () { // sweet, Javascript has anonymous functions <13> hey folks. <14> y a quelqu'un qui parle francais ici ? <14> anyone speak french here ? <15> I'm trying to pick apart this small script so I can make my own, and in trying to see how it works.. i've run into an if statement I've never seen before. Can anyone tell me what this means?? if ((x = y == z)) { } <16> you ***ign x the boolean value of the y == z evaulation <16> and then checks if 'x' is true/false <15> thanks x=) <16> You'r welcome. <4> btw, don't learn to write code this way <15> lol <15> not a chance. i was just picking this script apart and i'd never seen an if statement like that so i wanted to know what exactly it meant. i would never use that in my own script x=) <4> in the old days, you see this a lot in C <17> salutations matinales / morning greetings <18> top of the day to y'all <19> hi folks, I'm building a web page that will contain answers to email responses. Each email response will be in a textarea textbox. I wish to have a 'Copy to Clipboard' button above/below each text box so when I need to reply to an email I can quickly sift through, find the answer I need and click 'Copy to Clipboard'. How can I achieve multiple 'Copy to Clipboard' buttons for many many email responses in the one web page. Is it possible? <18> you can only do copy to clipboard in IE <19> yep that's fine <18> http://www.htmlgoodies.com/beyond/javascript/article.php/3458851 <18> and lots of other good results in this search: http://www.google.ca/search?q=javascript+clipboard&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official <19> I've managed to get it to work with one textarea textbox and button, but as soon as I've tried putting in another textarea textbox and command button it doesn't work <18> change the id or name that it's referencing <19> I'm thinking its something to do with creating an array <19> the first link htmlgoodies is where I got the initial idea working <19> :)
Return to
#javascript or Go to some related
logs:
#teens #php #AllNiteCafe llurk #mirc #squid #windows hotbabygirl quotes #AllNiteCafe inferno fedora permission denied
|
|