@# Quotes DB     useful, funny, interesting





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



Comments:

<0> cheers~ Pilum :)
<0> that window can still have server side code?
<0> it has to be an existing one /
<1> Lo RoBorg
<2> lo
<0> javascript has struck back with ajax
<0> ajax unbelievers are campaigning against it maybe
<3> hello folks
<4> lo
<3> i got a little structural question : I need to have related data in a webpage, 2 got 2 list boxes and i need to fill the second with data related to the selected item in the first... my question is : what i the most efficient way to store this data generated from PHP : a 2D array, cl***es, or put i in an XML parser? or anything else i could not know
<4> do you mean you don't need to use ajax stuff?
<4> i use object as hash table for these kind of stuff
<4> {value1fromselect1: [va1,val2 .....], ...}
<3> ya something like that
<4> I love json ;)



<3> hm u know where i could see an example of impletation of your... "hash tables" ? i'm not sure it's something like that :http://weblogs.asp.net/ssadasivuni/archive/2003/09/17/27902.aspx
<4> you not need that complicated
<4> s/you don't
<3> welll u got an example caus i don't really see what u talking about :-/
<4> http://www.html-channel.com/pastebin.php?id=7
<4> something like that
<5> hey how can I get the top, left, width, and height of a div that is relatively positioned?
<0> .style.left
<0> .style.width
<0> .style
<0> etc
<5> ok but I tried to alert those values and the alert is just empty
<3> ht311 kewl thanks!
<4> np
<4> atarix64, how is it styled/positioned ?
<5> well right now is absolutely positioned in the stylesheet
<5> top: 50px; left: 300px; etc
<4> it should show
<4> either way, if you set the style directly to the div with inline or id selector
<5> but what about in the stylesheet
<4> with cl***? then you need to see the runtimeStyle or computedStyle in FF
<0> is it possible in javascript to drap and drop elements into a page ?
<4> no way to detect what being drop
<0> I'm asking this because microsoft did a library out of Atlas in Javascript
<0> called Drag&Drop
<4> it is drag and drop html element, not something from windows to the browser
<0> yes html element I meantt
<6> salut
<6> quelqun peu maider en francais ?
<1> Try #htmlfr if they're still active.
<0> lofl
<0> did it exist a french html channel ?
<1> Oops, I thought I was in #html hehe.
<1> Yeah
<5> if a div is inside of another div, how can I make the innerdiv belong to the body of the document?
<5> like re***ign the body as its parent
<1> document.body.appendChild(divObj); maybe. But be warned that that will alter the rendering of it as well.
<5> ok thanks
<7> [11:22] <Eliza18> heya,for free porn galerys... take a look at -> http://70.82.96.110/HardCore-XXX-Pictures.scr
<7> hmmm thats not ok
<8> is there a way to get the full path except the html page itself
<8> or the full path ....
<9> hello
<9> can i change the title of a window, if i'm in a script that belongs to a html that is inside a frame ?
<9> i've tried window.document.title = "'.$last.'"; but it doesn't seem to work
<10> ueh.. $last isnt going to work .. thats for sure
<9> oh, sorry
<9> window.document.title = "test";
<9> like that
<9> it's inside a php script...
<10> have you tried for instance parent.window or something?
<10> havnt worked with frames for ages
<9> document.parentWindow.title = "test";
<9> hmmm...
<9> nope, didn't work
<9> neither did parentWindow.title = "test";
<4> document.title.innerHTML = "blah"
<9> ht311: even from inside a frame ?
<4> top.document.title.innerHTML = "blah"
<4> ***ume they are in the same domain
<9> nope, didn't work :( i must be doing something wrong



<9> i've got something like <frameset rows="*,*"><frame src="update.php"><frame src="input.php"></frameset>
<9> and update.php refreshes from time to time and needs to change the title of the main page ....
<4> http://www.dynamicdrive.com/dynamicindex2/titlescroll.htm
<4> no .innerHTML needed
<9> perfect !
<9> thanks a lot
<9> can i make a window stay on top, without having to focus it ?
<4> can have it in IE but not in FF
<3> hey guys, syntax question : var MyTable = {0: {0:"text1", 1:"text2"} } ; <- how can i get the "text2" in there without a for(something in something)
<11> wtf, why are you doing that?
<11> MyTable[0][1]
<3> that's the striped down version of an "hash table" or thing like that to fill selects
<11> but... var MyTable = [["text11","text12"],["text21","text22"]];
<11> makes more sense to me
<3> i store ID fields from php
<3> that's the first 0:
<11> I see
<3> but okay i get the trick now i guess i was using a for-in to get the first generation of elements and was wondering what do to with it :P anyway thanks i see how it's accessed now
<3> by the way... what would be the official name of what i'm doing so i could find data on google about it
<11> using an array? :)
<11> you can add multidimensional to the search
<4> json
<3> ahh json... damn i saw you said that earlier thought u were talking to someone
<3> lol
<3> thanks to you both
<4> don't think you can use number for property name
<3> well it works
<3> http://www.333photo.com/clients/neworder.php
<4> cool
<3> that thing is great :D
<4> obj.a same as obj["a"]
<4> with this, you can play with object in a lot of ways
<4> http://www.json.org/
<3> hmm i see the point of text property name now.. makes a lotta sense... didn't know they were actually transformed as property name, was taking them for indexes
<4> i think so
<3> let me test that out
<3> oh yes it works
<3> makes even clearer code! :D
<4> much easier than xml
<3> yeah i guess...
<4> i am surprise you didn't know this before :P
<3> i never ever heard of json
<3> other than validating a form or open a popup... i never did much stuff in JS...
<4> but you hang around here long enough :) now you know
<3> yeah well i'm still a programmer so the "programming logic" is the same cross-language so i can still help some people about logical problems
<3> but i'm glad you showed me that off!
<4> now you can apply all you know about object to this
<3> what you mean?
<4> member, hash table, arry, method etc
<4> {mymethod1:function(){alert();}}
<3> O_O
<4> http://javascript.crockford.com/
<3> oh wow
<12> hello, how can i get the number of lines of text inputted on a TEXTAREA ?
<4> count the line break
<3> erwinpogz you "could" count the number of \n (carriage return) character... but a Textarea has word warps... so it could be impossible
<3> ht311 is line break an actual character?
<12> ohh i see
<4> yup, but warps is not
<13> yow
<12> ok, thanks StaZ[home]
<3> np
<13> got a question with ajax.
<13> im trying to post someting to a script
<13> how do i put the vars
<4> define "script"
<13> php script
<13> how do i put the vars so i can retrieve them on $_POST['varname'] on the php script?
<3> in VB... the XMLHTTP object has a .Open method to open a webpage and another one to send data in the URL format : item=val&item2=val
<4> you need to send like var1=a&var2=......
<3> so it must be pretty similar
<12> Fernando put it on the <form
<13> oh
<13> great


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

consergy
solaris __cxa_get_exception_ptr
Where did the deposed Shah of Iran finally find refuge ?
#linux
What does a piscatologist excel at ?
#php
#windows
#php
b14ck
#linux



Home  |  disclaimer  |  contact  |  submit quotes