| |
| |
| |
|
Page: 1 2
Comments:
<0> still don't find anything talking about that <1> hmm weird <1> it just dont wana work :( <1> i cant work this out <1> its go me beaten <1> ive moved it all over to ssl and its saying "page has secure and none secure items" <0> i know there is problem when using http and https together <1> and i cant find the none secure items <0> it is the iframe with no src or empty src <1> hmm couls that be the issue ? <0> iframe freaks :P <1> might be an iframe with about:blank as sours <1> source <0> yes, that is not https <0> :D
<0> about:blank is non secure <1> ht i could kiss you <0> :D <1> lmfao <1> thanks mate <0> np <1> thanks ht311 really, i do appreciate your help <0> you are welcome <2> Hi there... I'm having problems getting document.getElementById(obj_thing).value to work. Can anyone help? <3> Better to use the relevant collections <4> booyaerge: try prototype.js... it has better support across multiple browsers and allows you do to that by $(ob_thing).value <3> Although there's technically nothing wrong with your code. <3> What are you on about, examance1? <3> Better support? Heh. <0> $() won't help anything on this <4> prototype.js is a small lib that really eases common javascript functions and makes it simpler to support multiple browsers <0> we know, but that is not the problem here <4> very useful if you are going to do some ajax <4> heh <4> yeah... suppose not... i would just hate to type that whole thing out every time <3> I have not seen a js compatible browser personally which doesn't do document.forms[].elements[]. <3> Not since I started doing js. <0> and I make a $FN just to do that :) <2> I am doing some ajax stuffs so maybe the prototype.js would be good. Where can I get it from? <2> Just so you know, the function for the thingy bascially says... <3> Changing method is not addressing your problem though <4> :) <3> Your code is not incorrect. <4> http://prototype.conio.net/ <2> function clear_text_block(obj_thingy) <3> Use a pastebin, bo <2> then I alert(obj_thingy.value) in the function. <2> Yeah, I just didn't think pastebin was warranted with 2 lines. :P <3> Looked like there were coming more than two hehe <3> You are still not telling me much. <5> is the ID you are selecting a form field that would have a value? <2> Yeah, well, actually, just before the alert I also var el = document.getElementById(text_objectox); <5> or is it like a div <2> var el = document.getElementById(obj_thingy); I mean. :) <5> if its a div you probably need document.getElementById('objectname').innerHTML <3> How do you call the function? When do you call the function? <2> It's just a textbox... I call it by onfocus=\"clear_text_block(textfield_".$list_id.");\" <2> It's js from php you see. :) In the source, it looks like onfocus="clear_text_block(textfield_10);" <3> And that's on the textbox whose value you're referring to? <2> Yep.. I tried the (this) thing, but that didn't work either, so I tried giving the actual name. <3> It should. <3> The error must be elsewhere if that does not work. <3> And it would be preferred to p***ing the id, and definitely preferred over using document.getElementById <3> You got this online? <2> Nope, hashed it up myself... :P hence the problems I guess. <3> function cleat_text_block(obj_thingy) { alert(obj_thingy.value); } doesn't work with onfocus="clear_text_block(this)"? <2> Just checking.... <2> Well, THAT did. <2> I'll just check whats different. <2> Well, this just in... I am a twit! <2> :) <3> Heh <2> Problem was that I was using (this) and THEN in the function doing the document.forms[0]..... etc <2> Thanks for your help. <3> Np.
<1> anyone for a popup block checker ? <1> google have blocked the page i was looking at <1> buggers <6> I hate you NeoFuture <7> hi <7> how would i copy a value from a textbox to another onBlur ? <7> onBlur="javascript:document.form[0].text[1].value=document.form[0].text[0].value;" <7> ? <8> ugh <8> onblur="document.formName.fieldName.value = this.value" <7> thx <9> cine stie PHP cu ochii inchisi ???????????????????????????????????????????????????????? <0> english pls, and this is not a php channel <7> hmm <7> what about if i want to use controls by their ids ? <7> onBlur="javascript:document.forms[0].controls[1].value=document.forms[0].controls[0].value;" <7> ? <7> elements <7> :D <0> http://www.jibbering.com/faq/faq_notes/form_access.html <0> don't use that javascript: , that's ugly <10> is there a way to figure out from a table row element, that which row this is in the table? <11> hi <10> i have the table row object.. how do i retreive its row number in the table? <11> chillkat: you should create a column that numbers each row <11> id UNSIGNED INT AUTO_INCREMENT PRIMARY KEY <11> or INT UNSIGNED.. i don't remember <10> im talking about the <table> and <tr> <11> lol <11> that's not possible <11> well, it is with javascript <11> but we don't help you with it here <11> and im not entirely sure how to do it in javascript <11> so can't help you :p sorry <11> oh **** <11> this is #javascript <11> i mistook it for #php <11> lol, sorry <10> ok <11> chillkat: it's somewhere along the lines of getElementByTagName() or something of that sort <12> Hmmmmm when I use appendChild() does that move the child from one node to another <12> nevermind <13> good morning people <14> can we send parameters to a .js include? <3> Why would you want to? <3> An include basically sais "I'm a regular script tag, but my code is in that file there." <14> Pilum, i saw them sending vars into scriptaculous <14> so it seemed interesting. i want to do it to send some params to my page init function that runs on page load <3> My point is, you don't need to. <14> btw, canu please look at this: http://202.83.164.7/cvs5/jobseekers/jobs_01.jsp <14> and see why the images load every time on the links instead of coming from the cache? <3> Wether the vars are initialized in the html or the js file is irrelevant. <14> actually the vars will tell the init function about which functions to run on pageload <3> And? <14> and i wanted ot p*** parameters...i just saw it being done somewhere. <14> anyway, can u tell whats going on with the page above? <3> As long as they're declared in head it is irrelevant. <3> Irrelevant wether the code is inline or in a js file I mean. <14> <script src="file.js?load=this"... <3> I'd wager that they are generating the .js file on the fly. <3> With some serverside scripting. <14> no they aren't <14> its all clientside code, and they actually were illustrating that we can tell the main js file which other files to include by this method <3> Where's the code you're referring to though? <14> i'll show it to you in a few minutes <14> first i want you to look at this: http://202.83.164.7/cvs5/jobseekers/login.jsp <14> once the page loads, click create account...and tell me if u can understand why the images wont load from the browser cache <14> ^o) <3> You have "javascript:" in your code. <14> yeah i know...its not my code, im just redoing the HTML <14> and graphics
Return to
#javascript or Go to some related
logs:
hostname multihomed yast #MissKitten #AllNiteCafe #skype #skype _pango_cairo_font_map_get_renderer #java popa3d undefined reference to `crypt'
#teens #chatzone
|
|