| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> it is but has alot of problems.. <0> i use IE 7 beta 2 <1> there ie7b3 u know <1> i can't wait for Vista :) <2> i call a global js in the server root, is it trivial to get that to check the current directory for a local.js and include/run that too if it exists? <1> how can I write out a square but without using the function Math.Sqr or whatever it is? <3> how do i fetch innerHeight/Width for IE? <1> why does it have to be that only certain functions of js only works in IE >.> <3> got it, n/m <3> VirusDotNET all of them work, few are buggy <4> I've got a div with overflow:auto set; when I add new text to it how can I make sure the scrollbar goes to the bottom? <5> hi <5> can you write comments into css? <6> Sure <6> /* This is a comment */ <6> By the way, I like how you managed to ask that in every channel except #css :)
<5> heh <5> didnt know there wa sone <5> sorry <7> is it possible that i can deactivate a disabled input in ie6 and firefox? <1> i thought Javascript supported Cl***es with private public etc <3> VirusDotNET you can fake it <1> ah <1> its going to take a little bit to get use to Javascript <8> is there a way to detect whether a browser is going to delete a cookie when it is closed (overriding the expiry date)? <9> hello, while using the onchange event, i want to know the old value in the field, how do I find that? <10> by keeping track of it probably <4> efuzzyone, make a new attribute 'last_value' <9> VladDrac: thanks <9> charles`: thanks <11> when i do an Fator[i] = 1.03700; the number is troncate to 1.037, so when i make alert(Fator[i]) it will print 1.037 and not 1.03700 but i want to print exactly 1.03700 (i know is the same but i must print the lasts 0). Someone know if already exists a function that do that or i must create the function? <12> use a string? <12> 1.03700000000000000000000000000000 == 1.037 <12> "1.03700000000" != "1.037" <13> Pad it with zeros? :) <12> dunno if js will typecast that though <11> yes using string will be ok <11> but i use it in lot of calc so i cant modify the type <12> js should typecast it to float in that case <3> wG only format it right before you write it to the screen <11> yes <11> i will make a small function <11> thanks <3> is it possible to get the current page's height including scrolling? <3> got that one too, n/m :) <7> i have a problem... <7> i have a input and when someone press enter, then it should start function Tastendruck() <7> onkeyup="document.onkeypress = Tastendruck(input.event.keyCode);" <7> don't work <7> <input id="p***word" type="p***word" onkeyup="Tastendruck(input.event.keyCode);" style="width: 125px;" /> <7> don't work too <7> help <14> How do I set a certain form option as selected? This is what I tried: document.myForm.elements[0].options[2].value = selected; What do I change it to? <14> solved <15> hello all <15> anyone with XSL knowledge here ? <12> yes.. even though that's off topic :?P <15> well if you know a good XSL chan i'll go there :) <15> question is : how to cut a node from my tree when I parse it. I can copy a node from node A to node B, but I would like the node to be cutted from node A. <16> if I do two mutually exclusive radio buttons in the form <input type="radio" name="foo" value="1"> and <input type="radio" name="foo" value="2"> ... how do I check which one is selected with javascript? <17> loop through <16> loop through based on the values, and .checked field? <16> is there a simple way to test if the first one is checked or not? <17> Loop through inputs with that name and look for checked <16> is there a way to reference one or the other directly, without a loop? <16> my final script will have only 2 or 3 radio buttons, each handled differently, so an "if" statement would really be the preferred method <6> Well, give the first one an id. <6> Then do document.getElementByIdea('bar').checked <6> err <3> Tenshi how you fetch the elements dont change just because youre using a loop <17> -ea <6> Get element by id :) <16> DRMacIver, how do you ***ign the id? In the html like id="foo" ? <6> Yes <16> DRMacIver, thank you very much ... not used that before <6> No problem.
<6> Note that you can't have two elements with the same id <16> right <6> The purpose of id is to uniquely identify an element on the page. <6> (Which is why it's useful for things like this) <16> the purpose of an id id exactly the scenario I'm looking at <16> i.e. when you can't reference an element by name cuz it's not unique <17> var foo = document.getElementsByName("foo"); foo[index] is also an option <17> Either way. Your radio inputs will probably already have ids for the label elements <6> b0at: Well, they probably should. :) Saying that they probably do strikes me as optimistic, as most people don't seem to use label/form elements properly. <6> (Err. 'Most people' including me actually, although I'm intending to change that next time I have the need to write a form.) <18> :) <19> how can we clear the content of a dom node ? <12> node.nodeValue=''; <20> I want to write a generic form validation package... the script will run a a validation function at the onSubmit stage, that generic function will then call a secondary function which is specific to the form, if that exists. what is a simple way to check if a javascript method exists? <3> awormus obj.method instanceof Function <20> Raevel: thanks <21> hey <21> I'm pretty much here to show off <21> because I know people on #javascript will appreciate what I've dont <21> done <3> tjs im here to make fun of you when you do <21> this requires firefox <21> please do <21> ie support soon! <21> open an empty html file on a webserver or your desktop <21> pand paste in <21> <script type='text/javascript' src='http://pomke.com/core.js'></script> <21> <div cl***='PomkeWidget' type='gallery' uid='admin' wid='11'>loading..</div> <21> then open it in firefox <21> also, please dont slashdot or hammer my server, its a 64meg hosted VM atm ;) <21> not opera <21> I see you ;) <21> wget doesnt work either <6> I think pretty much anything which begins with "This requires browser X" is fairly feeble showing off. :) <21> its not a very good html renderer <21> DRMacIver: its beta, it will support ie next week <6> {browsers} != {firefox, ie} <22> what mean "unterminated string literal"? <21> it supports safari atm, and possibly opera (have not tested it this week on opera) <12> Tulga: missing closeing quote <21> bah, the point I think you might be missing is that its a dynamic js application communicating with the server without AJAX and thus no cross site scripting problems <21> and I now have a framework for building these types of apps <22> TheSeer: it mean I must content to html decode? <12> ?? <22> error: win5.getContent("last_blog").innerHTML= "<div id='last_blog_div'>Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! <12> " <23> hi all, may I modify the type of a field on the fly, example change file pippo from text to textarea when an event occours <3> BladeRunner05 you can <24> how many cl***names can you give to an element? <12> 3 <24> if you modify it by, document.getElementId(xxxx).cl***Name="How many cl***es can I have" --- is there any way to PUSH one in there? <12> lol <24> only 3? <12> nah.. <12> there is no limit i know of <12> i wanted to type something else.. ;) <23> Raevl: in wich way ? <23> Raevel: sorry, in wich way I do that ? <12> airwave: what do you mean by "push"? <3> airwave just append a space followed by the new cl***name <23> Raevel: obj.type=textarea ? <24> so something like: document.getElementId(xxxx).cl***Name = document.getElementId(xxxx).cl***Name + " cl***name"; <24> ? <3> BladeRunner05 a textarea is not an input <23> Raevel: I need to change a text in a select and vice versa <3> airwave, that works, and a=a+b is the same as a+=b; <23> Raevel: I need to change a text in a select and vice versa, there is a way to do this ? <18> :) <24> Raevel: the problem with that approach (appending a space and putting the value) is that I'm trying to hide and show the element, so onclick it will append the cl*** "hide" and then on another click it will append "show"...that's not too reliable if the cl***name just gets bigger and bigger...is there a better approach to this? <3> BladeRunner05 yes <23> Raevel: can u teach me how to do it ? <23> Raevel: please <25> hi guys <25> does anyone here know MouseEvent.relatedTarget ?
Return to
#javascript or Go to some related
logs:
reinit raid mdadm SOHO 5.1.2 DELUXE+bittorrent #lisp squid change packet owner #linux #lisp #linux #perl variable name inside another variable
sdwebzilla
|
|