@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> other than the good old innerHTML
<0> im totally novice to this stuff so im interested to know how others are doing
<1> Depends entirely on the application.
<0> ok .. but I think for the time being I have kept things really simple here
<1> If you're just swapping content then I'd do .innerHTML.
<0> actually i was but now Id like to format a bit the content to give it more style
<0> for example
<0> one of the results im getting from my ajax query is
<0> "/usr/local/tomcat/tomcatAdmin.jsp"
<0> now id like to style out the output
<0> tomcatAdmin.jsp and underneath it put the full path



<0> so ill be needing some html updating here combined with css
<1> You should have the CSS ready in an external file.
<0> that I do :)
<0> but what would you recommend
<0> to do such an html update
<1> I don't see why you can't use innerHTML with that.
<0> no I can
<0> i know that
<0> but its always good to know
<0> about other options
<1> Though if you want to use the DOM, you can start by looking up document.createElement
<1> And look into JSON.
<0> ok if im not mistaken json is kind of language independant syntax
<0> for data structuring
<0> to be accessed in a convenient manner
<1> Indeed.
<0> and document.createElement will add to my html
<0> not update the existing
<1> Might be overkill for what you're doing. CSV might suffice, but it might be handy to know about it at some point. :-)
<0> ok ..
<1> As I said, depends on your app. :-)
<0> yeah of course I understand that but I believe that this is a bit independent from type of app
<0> because its a mere question of updating a tag
<0> which a the end of the day will be done in any kind of app
<1> If it's just plain simple HTML which you're not going to manipulate at all - or very little - then I'd usually go with innerHTML.
<0> ok ..
<0> thanks for your insight and help
<1> Np.
<2> anyone can recommend a good ajax script with private msg
<3> is it possible to do something like : .....innerHTML = "<?php phpfunction(javascriptvar); ?>"; ?
<1> No.
<1> Not like that.
<3> but what about using write()
<3> how can i do it ....
<4> it is possible
<1> That's not the issue.
<3> hmm
<1> The issue is that the server doesn't know the values of javascriptvar.
<4> ah he wants a javascript var
<3> > <1> Not like that.
<3> so there is a way



<4> just p*** the js variables to the php script
<4> with GET/POST
<4> or maybe recalculate the value of the variable with php
<4> if it's not based on user input
<5> hey need serious help guys can anybody help with java
<6> try #java
<5> thanks melfar
<7> how do you call a javascript function from html, just funcname() or do you need to let it know its a javascript func
<6> you mean in an action handler, like onclick=""?
<7> yeh but without onclick ... i want to just run the function when the page loads
<6> then use a <script type="text/javascript> funcname(); </script>
<7> ok , thank you
<4> Chris1235, window.onload=funcname;
<7> ok cheers , done it the other way.
<8> ht311
<8> 24 season 6 ep 1 - 4 --==>> www.neofuture.co.uk/24/
<9> NeoFuture: whats that/
<7> season 6?!
<7> NeoFuture: thats cool , but what good is the first 3 episodes without the rest ... is it not fully made yet or summin ?
<8> it starts to air next week
<8> this is the first 4 ep`s
<10> lolz
<10> neof is a hack0r
<9> NeoFuture: what's that?
<8> its the first 4 episodes of 24 season 6
<8> they air next week
<9> the movie is "24" ?
<8> no
<8> tv show
<9> what's the tv show about?
<4> what's it about ?
<10> saving the world in 24 hours
<4> rofl
<10> over and over again
<4> sorry i was scrolled up
<8> its awsome
<4> scrolled up exactly one line :/
<10> i watched 1 episode
<10> i didn't get half of it
<10> so **** it
<10> Bill Gates watches 24 on DVD while he's running on his tread mill
<10> he said on an interview
<8> good man
<11> the show is about not going to the washroom for the whole day
<9> Bill Gates runns on a thread mill?
<9> with his money he can buy "instant fittness or So"
<11> not yet, he is putting money into that research
<8> ht311 jack got taken in the washroom in season 5
<6> and where do they go if not in a washroom?


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

#php
dev cpp problems parsing boost
DEBKAC
otto dirlewanger
#linux
#linux
#chatzone
#AllNiteCafe
mystikll
#linux



Home  |  disclaimer  |  contact  |  submit quotes