| |
| |
| |
|
Page: 1 2
Comments:
<0> how do i do that? <1> document.createElement <0> ok <0> thanks i'll give it a go <2> hey guys, I am not very good at javascript <1> And? <2> for very image on my html text, I need to include style="position:absolute;" in the <img> tag <1> Sounds like you're not very good at CSS either. <2> element{position:absolute;} would not wor <2> work <1> Did you have a javascript question? <2> I am using a wysiwyg to create html when I drag and drop an image on my canvas the html of the page gets updates, but images do notreflect position:absolute; <1> And that has got nothing to do with javascript.
<1> That's CSS. <2> I need a javascript function that parses the html and adds style="position:absolute;" in the <img> tag <2> if it dooes not already exist <1> You do it in CSS! <2> in all instances of <img> <1> Go read some tutorial and throw away the wysiwyg until you understand HTML and CSS. <2> ok, I tried that, but can it be done in javascript? <3> rofl <4> hi it's possible in javascript to selected a text in a texbox and not just set focus like focus() ? <4> like when we go on hotmail.com <4> ?? <5> select() <4> thanks!! <4> hey Aquel i put this code in my body onload="" and when i put focus() it's okay but when i put select , when the user press tab key the focus go on the adresse bar and not on my p*** textbox can i correct this? <5> tabindex <4> how do this with javascipt? :S sorry <4> my control is in asp.net <5> no that's an html feature <4> when the page load the hiight is on my usertext box and it's okay but when user press ttab that go on the adresse bar.. probably because adresse bar have texte to select and not my p***word check box <4> p***word text box** <4> my textbox are in asp.net <4> aquel you don't have any idea? <5> http://www.w3.org/TR/html4/interact/forms.html#adef-tabindex <4> it didn't work <4> :S <4> someone can help me? <4> aquel <5> hehe :p <4> please help me :P i was searching for sonce 3hour :S <5> only? <4> you very help me woth you select() but now i have the tab problem <4> my control have a tabindex but i think that it only work on asp.net level because it's dont work <4> it exist another mean like: <4> <tabindex = "1"><my asp control> </tabindex> ? <5> I don't know ^^ <5> ASP gives me pimples <4> :S <4> i dont know why it's working with focus and not with seclect!! <6> Anyone who could lent me a hand with some ajax problem? <7> rfc-C: just ask <6> im not so good at js,but I managed to fix some ajax up (that actually works on another site) <7> !? <6> but when trying to make it refresh a banner on the frontpage, every X seconds, it gives me an error "invalid character" <6> think it might be easiest to see for yourself :) <6> ah damn, im good <6> works now :-) <6> thanks <8> WHY?!?!? http://web.mac.com/q80/iWeb/f/A-Team.html <9> The face is on celebrity Big Brother here right now. <9> ;D <10> what event is triggered when a user clicks inside a text input ? <1> Several.
<10> which one would you recommend ? <1> Depends. <10> I want to call a function when somebody clicks inside the text input <1> To do what? <10> well, here's what I'm doing. user can select between 3 radio buttons ( #1 is checked by default ) or type his own answer in a text box. when he clicks inside, I want the radio buttons to become unchecked <10> the function that I call does. document.forms['myform'].radio[0].checked=false; for example <1> onfocus probably. <1> Or maybe onclick. <10> I tried onclick but it says the element doesn't support it <10> same for onfocus <8> onenter <8> sorry, wrong language.. onfocus like pilum says <10> object doesn't support this property or method <10> wow, this is weird <8> nomorepasting.com <10> FF says: shop_other() is not a function <10> and the code inside the input is: onFocus="shop_other();" <10> http://www.pastebin.ca/328424 <8> that helps no one.. need to see it all in context <10> you know, I just fixed this <10> renamed the function to shopother() <10> and it works! <10> I didn't know shop_other would be illegal for a function name <8> it's not <8> you have something else going on regarding scope <10> haha, I do <10> I will shut up now for I have already made a fool out of myself <11> can I paste 1 short line of js code here? I don't know what is wrong with it. <1> As long as it's just 1 short. <11> x = document.myform.quantity.value.replace([^0-9\.],''); <11> thats it <11> it gives me an error of object expected <1> alert(document.myform.quantity) <11> but I think the problem is in the regex because that I what i changed <1> Object expected usually indicates a null reference. <11> that brings back [object] in the alert box <11> so it exists <1> Ah yes. <10> thanks guys <12> cast value as a string <11> that makes tthe error go away <11> thanks folks <11> there is still a problem with the regex <1> Yes. <1> ^ shouldn't be inside the brackets should it? <11> i'll try it outside <11> nope <11> i tested the regex in a regex testing page and that part seems to work, I just can;t figure otu how to make ti work in the js <1> And another bah at me. <1> Must be enclosed in // <11> /[^0-9\.]/g <11> thats what I needefd <11> thanks for the help Pilum <11> it works without the toString() on there is that really needed? <1> .value is (or should be) a string so it shouldn't be needed. <11> ok thanks <13> You nub <13> Stop escaping metacharacters in character cl***es <13> It makes you look gay <3> lawl <3> true
Return to
#javascript or Go to some related
logs:
7mdesign #chatzone #php #AllNiteCafe #AllNiteCafe xinhu xoghol? niteladies anbeta sexytrans pics #AllNiteCafe
|
|