| |
| |
| |
|
Page: 1 2
Comments:
<0> How do I get an objects parent element? <1> parentNode <2> nevar 4get! http://www.manse.cx/nine11_jenga/ <3> :/ <2> jeez <3> im disapointed in you furtive <2> i thought it was rather innocuous. but i guess not. <3> maybe just a bad day to bring it up <3> 2752 dead aint a laffing matter really <2> evening <4> 'lo <2> what ide do you use ht311 ? <4> eclipse, vs2k3, starting on vs2k5 with resharper <2> k <2> just starting to use eclipse now... was a big user of IDEA <4> I start from eclipse, tried NetBean
<4> eclipse is pretty good <2> not bad so far <2> note as snappy as i'd hoped <4> need a lot of ram :) <4> you have to try js eclipse <2> hmm... yeah, it crashed on me once and then was as slow as hell after. back to SciTE for me <2> too bad, was working good for me past two days, now i'm scared to use it <2> sigh <4> just delete the workspace .metadata <0> <agamemnus> mainb.appendChild(iframe1) <0> hmmmm <0> nevermind <2> hmm... IDEA is coming out with ruby/rails support <2> still my most fave ide in the world, when we started using it productivity noticeably went up, 20% is a fair guess. <2> I'm going kvm shopping tomorrow <4> for work? <2> nah, for home <4> why not just use remote desktop and vnc? <2> i do, but every now and then (like now) i'm setting up servers and it gets annoying <4> just go virtual :) it work great <2> what, vpc/vmware? or just rdp/vnc? i do both, but inevitably there comes a point where i'm swapping video cables, or there's two kbds on the desk. $30 and it's never an issue. <4> vpc/vmware <2> i can't do vpc until the server is up duh. not gonna run my fulltime server from my notebook <4> I guess I never run into your problem . I just have to much computer arund <4> I have a lcd can drag around <2> at least my dev is coming along fine... login works, salted hash too, session management works, zipping through CRUD stuff....should be time for JS whiz/bang stuff soon <2> maybe this weekend, gf will be out of town <4> hehehe <4> http://www.engadget.com/2006/09/11/bill-stumpf-creator-of-the-aeron-chair-p***es-away-at-70/ <2> i'm sitting in an aeron knockoff... the one you recommended for me <4> which bring you the pain ;) <2> well, yeah, it was sorta the start :-) <2> g'night <4> nite <5> if I change the object.style.top = something else it does not work in IE but works in firefox, u know y? <6> did u set the position:absolute? <5> yes <4> give a unit <5> i did <7> morning <8> good morinig all <6> mornign <8> morning ** :-) <6> that too <8> Robb01 is back, :s <6> haha <9> hi, got a programming problem and i thiknk, best way to overcome it is in JS, i want to have a predictive field (i can do this in ajax) and when u select the text from the predictive feild it adds it to a list the list then gets submitted in a form, i dunno what this is called so i cant google it !! <10> I have a table inside a div and the div's style changes from time to time (withouth page refresh)...is there an option by wich the bale's style will change after the div style changes? <9> how do yah get a line break in javascript <9> i tried '\n' but it gives me a syntax errro <9> r <11> "\r\n" <9> ty ty <12> or "\n" (double quote, not single quote) <11> oh, it's like PHP? single quotes won't handle character replacement (or whatever the name) <9> was my fault
<9> i was using .= instead of += <9> doh <13> hey guys... i am having a bit of trouble with getting a onKeyPress event working on a text field... ive pasted some test code here.... if anyone can help would be much appreciated :) .... http://pastecode.com/4632 <11> onKeyPress <- no capitals i think <11> onkeypress <13> yeh thats right... devguru's reference sux <13> anyone know of a good js reference? <11> i use google mostly <11> not one particular website <11> by the way, it's a better habit to keep all <script> code in the <head> and call a Init() function in the <body onload="Init();"> <11> that's an "unwritten" (or maybe it's written somewhere) standard <13> yeh thats cool i just did this for testing <11> all right :) <13> thanks <11> np <13> hey just one more question... when i have something like onkeypress = function(var){} .... the var thats p***ed seems to be the keypress event.... not the custom object that i wish to p***.... is there any way to p*** the actual object? <11> not sure... maybe try var MyVar = 15; MyElement.onkeypress = function(event, MyVar) { do something }; but not 100% sure <12> the best way I know to atrtach events to an object is like this: http://sukotto.pastebin.com/787270 <12> (stspud pastebin is veeerrryyyyy ssslllooowwwwwwww today) <12> (and my typeing isn't so great either :-( ) <14> any way to remove all the subelements of an element with out looping? <11> .clear() "maybe" <14> no such thing <11> could try... .innerHTML = ""; <14> I don't like that too much :/ <14> thought about it, but it's kinda messy <11> well... loop then :) <14> not even the loop seems to work fine <14> ah, I'm idiot <14> that's why <12> make sure you use a "while" loop and not a "for" loop :-) <14> of cousrse it works <14> ya, that's what I did :P like I didn't do it before... <14> I'm getting dumber each day <4> what. innerHTML = "" is more messy then a for(.... ) ? <14> ya, because I may start modifying the dom tree right after innerHTML = ""; and I don't know when the browser will start rendering that line <14> it may be at the end of the function or something <4> the code is clean and what you wnat to do is messy <12> I think: while(myElm.hasChildNodes()){ myElm.removeChild(myElm.firstChild); } <14> ht311: doning innerHTML = ""; is very messy compared to a loop remove, it would be great if there would be a clear() function as StaZ[home] sugested <14> doing innerHTML = ""; would ask the browser to rerender stuff and you don't know how it does that, or when <14> and you're no longer playing with objects, you're playing with HTML. When you do the loop you stay in the objects world <11> i would tend to trust innerhtml more on that case... one command, one render, one result <14> come on... never had to do a setTimeout just because some element wasn't added in the dom tree after you put it there by html? <14> I belive that was an isue with the iframes <4> i can agree on the object vs html part, but the render issue, you will not have control, on the flip side you can complaint I remove a node why I don't see that on the screen right the way. and this behavior I believe is not specified in the standard <11> no didn'T tried that <4> it will be kind of dumb that need to change the node p***ed in innerHTML right after <14> it wouldn't <4> why not do all right stuff before p***ing it in <14> I have a tree control, I have to reset it <14> I reset it, then I add other stuff to it <14> myTree.Reset(); for (var i = 0; i < 100; ++i) myTree.AddItem(i); <4> myTree.reset() <- innerHTML = ""; myTree.addNodes(objs); <4> my code is every more clean then yours :) <4> s/even <14> how is it more clean? <14> the tree doesn't know about the format of my objects <4> that's why I said what you want to do after is messy <14> of course is not <14> it would be messy if it would know about the format <14> because the tree is a separate object, that has nothing to do with other stuff in the application <14> the tree just knows about parents, textes, and types (its own stuff) <4> it is data, it have to be a certain format, csv, a cl***, etc <14> it is, but it doesn't have to be the tree's format <14> the tree is a simple control <14> he shouldn't know about external objects <4> unless you don't want the tree to have action <14> of course it has <4> so it must know what function to call outside, what outside param need to p*** in that function <14> I have events defined for it <4> pretent the tree is just a dumb dom tree of nodes is naive <14> onselect, onbeforeselect on rclick <14> it just reports the element that has been selected
Return to
#javascript or Go to some related
logs:
php scan an array default argument missing grannyfuckers pen and a cob
#php javascript onmouserelease button #teens kalorijji msdn usleep #chatzone
|
|