| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> use PHP :) <0> if your host supports it you could do ASP in JScript <0> that way keep the code close to your javascript code <1> thanx RoBorg <1> I would use PHP from the begining, with which i am more familiar also <1> but my prof wanted us to use netbeans.... <1> pff <0> heh <1> and also deploy the integrated tomcat http authentication, which obvisouly overrides the validation scripts <0> never used java myself <1> ive been using php nuke for a couple of years, i set up a radio station <1> java is also cool <1> but if u can avoid it do so <1> from the other hand you have so many usefull cl***es that you dont need to build any of your own <1> except if you really want to or the situation demands <0> java is usually overkill for web apps
<1> true <1> and most windows machines that run java are quite vulnerable <1> microsoft took care of that <1> mf's.... <2> Hi <2> I would like to adress an element with the name "debouwsector.winkels" <2> the form doesn't have a name <2> I would an if statement with the value of the element <2> something like <2> if(document.getElementByName('debouwsector.winkels').value = 1) { // blabla } <2> for some reason, it just won't work <3> any errors generated? <2> no <2> it just doesn't give the output <3> you double checked the name is the same and stuff? <2> certainly <2> so the syntax is correct? <3> and the name is in the name="debouwsector.winkels" ? <3> can't think of why it wouldn't be <4> ther is no getElementByName <2> yes it's <input type="hidden" name="debouwsector.winkels" value="1"> <2> then how can I adress an element if I don't have a form name? <4> NO <2> no don't get me wrong, i believe you, but how can I adress the element then? <4> http://www.jibbering.com/faq/faq_notes/form_access.html <4> document.forms[0] <2> thanks i'll take a look <2> I tried that <2> documents.forms[0].elements['debouwsector.winkels'].value? <4> that's look right <2> so if I do: <2> x = documents.forms[0].elements['debouwsector.winkels'].value; <2> document.writeln(x); <2> it should output the value right? <2> that doesn't work :( <4> OUCH, my eye hurt.... <4> no document.write or .writeln should be used. <3> people using that should be taken out back <4> just alert() it, and you need to wait until the form is there or the doucment is loaded <2> ok.. <2> but how do I output it on the HTML page? <3> omg <3> Ned21.. please.. one thing at a time <2> sorry <2> this thing has been driving me crazy the last 4 hours <3> LOL <3> no no.. we are the ones who are sorry <4> then you really looking at from wrong side <4> it is more about dom than js. may be you just describe what want to do. my 15min of patient is not used up yet <2> ok <2> well there is a database, and I can access it's information with perl (Webdata) <4> as usual, my spelling ****s :D <2> there are hidden values on the page representing the database values <2> and I just want to 'print' all the hidden values from where the value equals 1 <2> something like if (element.value = 1){print element.name) <2> but since the form tags are generated with perl, and the hidden elements too <2> I find it very hard to adress the element <4> do alert, use innerHTML whenever you after inload, just not document write <4> http://www.crockford.com/javascript/script.html <2> ok <4> and since you have serverside page, it will easy to do it there too
<2> alert(documents.forms[0].elements['debouwsector.winkels'].value); ==> doesn't work <2> and there is a <input type="hidden" name="debouwsector.winkels" value="1"> on the page <3> so I'm asking again.. are you absolutely SURE the name is completely correct? <4> try that again after the document is loaded. (if you know what that means) <3> checked AFTER the page is at client side? <2> yes I just checked again, the name is definitly correct <4> Thunder^^: that is for Ned21 <2> ht311.. no I don't? <3> ht311 I wrote it the same time as you <2> is there an event that fires when a document has completed loading? <4> yes <2> how would I check that AFTER the entire document load <4> http://www.google.com/search?q=is+there+an+event+that+fires+when+a+document+has+completed+loading%3F+javascript <2> tss :) <2> lets see if it works <4> read all the reference http://www.javascript-channel.com/Wiki.jsp?page=Links to learn. just copy some code form somewhere will not help <4> Thunder^^: working on Saturday? <3> ht311: not at work if thats what you mean :-) but "working" on my own stuff yeah :-D <2> thanks very much <4> good, you still have energy to work on your own stuff. ;) I am getting lazy in the weekend. <2> it was indeed the load event <2> much appreciated <2> well, I'm still busy learning (I'm a student) <2> practice is the best teacher <2> well <2> bye :) <3> argh <5> hey need some help <4> another example that school teach bad code to student <3> so true ht311 <3> darkangel: what may we help you with then? did you check the topic? did you? <5> yeap <3> oh jolly good then.. it will take you 30+ mins to read the page so you could learn it by yourself :-D <3> wake me up when you're done <5> lol:P <4> darkangel23, just ask. I don't want to open your brain and see what is the question in there. <5> i have a little problem and i need your ideas <5> hold on <3> go to your shrink with problems <5> for (i = 0; i<p***word.length; i++) { <5> sum *= p***word.charCodeAt(i); <3> STOP <3> do NOT paste anything <5> thats all <5> sorry <3> just shows that you did NOT read the bloody page now didn't it <6> :O <6> XML error: not well-formed (invalid token) at line 1 <5> didnt flood the chan :P <6> bad Google, bad! <5> the question now is that var p***word = prompt("Enter p***word!",""); and i have to another var for example check = 2.34 and sum = 1.0 <5> how this protection scheme works ? <4> one word. ****s <5> p***word.length is the length of the p***word you write <5> or is the length of the var p***word ? <5> i am wondering how it calculates the p***word <4> oh, there is a different story, i am not willing to help you to break others very stupid code <5> any hints ? <5> :) <5> i want to implement it with my code to make a protection scheme <5> but i need to understand this code to go further <4> this is not what you want to use <3> darkangel.. how are you going to make it work so noone can break the code? <4> you need to understand encryption in general <5> i am still learning and i needed some proffesional help <5> sorry for that <3> have you ever heard about right-clicking the page to see the html/javascript code? <3> we don't get paid here.. we aren't professionals <5> i c <5> thx
Return to
#javascript or Go to some related
logs:
#windows #linuxhelp undernet Dr|shadow picture ayuda #skype #c++ #chatzone #teens mysql debian signal 11 #london nofs
|
|