| |
| |
| |
|
Page: 1 2
Comments:
<0> If I send via some AJAX mechanism a line of javascript code... say alert( <0> "Hello World" can I execute it like javascript? <1> via eval, yes. <2> but why <1> but why would you want to split js code in two files (and two flavors)? <3> yeah, no need for putting js on the serverside. <0> because I am more of a php programmer and I want more of my code to be PHP which I understand better <1> something like GWT for php ,) <0> melfar: bingo <4> don't like GWT myself <0> Right now I am just writing a parser to read xml packets from the server, but eventually I am heading towards something like (UPDATE,APPEND,mainForm.chatBox,'user x said: Some text here\n\r') but slightly more complicated <3> you can skip the whole world cup but this is awesome: http://www.youtube.com/watch?v=j1i_l0OeeMc <4> hehe, people are fast <3> yup: http://www.chriscarter.org/images/images/7858zidane.gif <5> can you please help me with the automatic selection? <6> hi
<6> is it possible to add a new input to a form from javascript? (dynamicly) <6> actually, I want to add a <SELECT> element <7> SELECT * FROM <TABLE> <6> what?? I want to add a new select element to a form using javascript. <8> var select = document.createElement("select"); select.options[0] = new Option ("foo","bah"); document.formName.appendChild(select); <8> or words to that effect <3> awe, missed him <9> hello <3> hi <3> site is switched. in the process of doing offline css changes <9> mm, nice <9> I'm gonna post my article(s) asap <3> hehe, cool....you still have your account info? <9> yes <3> crazy go nuts <9> what plugins do you use? <3> i'll post some stuff shortly too, once i tidy it up <3> it's barebones right now <9> I use "Code Snippet" and "Akismet" (latter for comment-spam protection) <3> yeah, i don't think i have askimet enabled yet on there <9> code snippet is very good imo, supports alot of langauges. <3> i'll check out code snippet <9> <code lang="javascript">bleh wahtever</code> <3> sounds apropos <9> great <3> ah, nice <9> you don't have to bother with crazy indentation, just regular code <9> supports displaying code-lines too <9> and ofc you can modify the .css for its output. <9> http://blog.enargi.com/codesnippet/ <3> i can't remember if you have admin on the site, if you do then knock yourself out <9> I dont <3> if you don't and want it let me know <9> to install plugins I have to have (s)ftp access, which I don't have :P <3> ah <3> hehe, of course <3> i can look into that, but i've got a lot of stuff on there so i'll get back to ya <9> don't bother, I would only use the (s)ftp once, to install code snippet plugin <3> heh <9> there's like 1 000 of plugins, but as always only 0.1% is good. <3> yeah, i've asked on a few forums for recommendations, and i've seen a site that listed some must haves. askimet is always at the top <9> yeah, was a bit tricky to setup tho, You have to request for a app-key or something <9> too me a while before I got the right type of account registered. <9> (on the wordpress website) <3> can't recall, i've only set it on one of my sites <9> well, I probably did something wrong, probably really easy if you know what you'r doing. <9> ^ <3> evenin' <4> :) I am sleepy already <4> ds lite is selling 6 times more than psp in jap <3> hehe <4> http://www.joystiq.com/2006/06/30/japanese-hardware-sales-19-june-25-june-the-bigger-they-are/ <3> the first p in psp is for 'poo' <3> the second p is also for 'poo' <4> :D <10> lol <3> i don't know what to do with my micro. craiglist <3> heh, more gba micro than xbox360 sold <4> yeah,sell it <4> what do think this guy is growing before .... http://montreal.craigslist.org/for/178318207.html
<3> yeah, but i'd never smoke his stuff... too much chemicals <3> bat guano and shrimp paste is where it's at <4> may there is a market for organic weed. hahahaaaa <3> there's a huge market <11> I have a table that is being rendered by a 3rd party control with style="position:relative". This is causing a problem when i attempt to hide it. I'd like to alter that property when a certain button is clicked on the page. <11> if i view source, save the html, and change the property from relative to fixed, it works properly. <11> so, I want to modify that property with javascript.. i am doing javascript that finds the table by ID, then does obj.style.position="fixed"; <11> that is not working though. how do i properly modify the position attribute with client side code?\ <12> hi <12> why fixed? <11> anything but relative. <11> For some reason when i try to hide the table itself, if i have position:relative, the border still shows <12> http://www.w3schools.com/css/pr_cl***_position.asp <11> over top of everything else <11> i have that open already.. <11> I have tested the changes with a basic html page <11> My goal is to modify that property on a button click <11> and it's not giving me an error, it's just not behaving the same as if i load the html page with that property modified <12> try position: inherit; <12> obj.style.position="inherit"; <12> or if is just the border that bothers do obj.style.border='none'; <11> doesn't work. <12> or obj.style.border="background color here"; <11> inherit is not a valid argument. <12> no?! <11> I can't modify the border property to solve the problem <11> I have two tables, i am showing and hiding them based on which mode the person is in <11> that mode changes on the client side <11> so.. <11> If i try to show one table, the tables that were inside the other table, that have the position property set, overlay my newly visible table <11> even though all the other content in the table was hidden <11> if i set border=none, i dont see the border, but the square where the table was is still a blank spot <11> overlayed <11> so, if i set position:fixed, then show the table, it works <11> but im testing that in html. I just need to be able to modify it in javascript <11> and for some reason, style.position="fixed"; isn't doing anything <12> http://www.w3.org/TR/CSS21/visuren.html#choose-position - it does have inherit <11> When i set it to inherit it gave me a javascript error <11> Using IE 6 <12> how do you hide the tables? what css rule? <11> style.display ='none'; <12> and to show them? <11> 'none' <12> i think in firefox/mozilla to show a table correctly you must use table not block. i'm not sure though <11> Hrm, is that my issue? <11> let me mess with that <12> don't know <12> myght <11> oh wait, Im sorry <11> to hide, im doing display='none' <11> to show, im doing '' <12> to show do display="block" and if it doesn't works try display="table" <11> tried both, no luck <12> i have no other ideeas <11> ok, well im gonna keep messing with it. Thanks for the help <12> good luck <13> Can we see preview of flash files with dhtml editors ? - I have seen couple of opensource dhtml editors (eg; fckeditor) but it is showing an alternate picture instead of actual flash movie in the edit window. <14> good morning people <15> yoo <16> hi <16> will this: onchange="document.location.href = 'index.php?redirectare=<?=$_GET['redirectare']?>&ce=<?=$ce?>&cat=<?=$cat?>&clikk=<?=$clikk?>&no=<?=$no?>&n=<?=$no?>&howmany=<?=$_GET['howmany']?>';document.THEFORM.submit();" redirect my page with that url? <17> document.location is deprecated. <17> 10 years ago <17> location is a property of window <17> Chance document.location to window.location and it's correct, albeit awkward. <16> ok document.THEFORM.submit() is allso deprecated? <17> No. <17> Though you're better off using document.forms['THEFORM'].submit(); <16> ok, but i can't sort something out <16> it only redirects me to index.php?howmany=20 <16> why don't the other variables get posted? <17> Um... it shouldn't do that.. <17> Are you submitting the form per chanse? <16> what do you mean per chance?
Return to
#javascript or Go to some related
logs:
oomelvis the weather in amirca #AllNiteCafe #london oh baby when you talk like that, you make the women
#linux #linuxhelp #linux #chatzone #MissKitten
|
|