@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Hi Folks! Maybe you already have done something similar. How can I split a field to more fields..
<0> For instance, I have a select field with values and description with those values
<0> But my select is using the value attribute with tuples pairs with data. such as
<0> <option value="Field1=Value1&Field2=Value2&Fiel3=Value3">
<0> I'd like to split each of those fields to transform to
<0> <INPUT name="Field1" type="hidden" value="Value1", Field2, Field 3, etc
<0> Any tips? Anybody ?
<1> hi, is anyone here?
<1> i have a problem with mozilla..
<2> just ask
<1> Ok, this code:
<1> http://www.flyingsoft.phatcode.net/test5.htm
<1> works in IE and Opera, but not in Mozilla
<1> Line 100: this.iconheader.onmousedown=function() {startdrag(this.parentNode.id, event)}
<1> It says "event" is undefined.
<2> "event is not defined"



<2> something.onmousedown=function(e) {e = e || window.event;......
<1> ok.... i got it
<2> http://www.quirksmode.org/js/introevents.html
<1> I needed to make it function(event)
<1> and, that as well
<1> for one of them
<1> thanks
<2> np
<1> question: Is there a way to over-ride all cursor properties so that they are all the same, and then restore them all at a later time?
<2> no
<2> the trick is put a div full screen on top of everything
<1> i see
<2> take out those picture div you have there, see if it is realted
<2> related
<3> ok i will
<3> well, it works mostly without the picture divs
<3> that's odd
<3> even if i have one picture div it does that.
<3> well.
<3> i d k
<3> i think there is a memory leak
<4> hi
<4> can i read the value of a textbox without the textbox being embedded into a form?
<4> I'm trying to read the value of a textbox like this: http://pastebin.ca/142183 but i get the "Object expected" error at the first line of the function
<4> needless to say I am just starting out with javascript...
<5> Just put it in a bloody form already.
<5> And never ever put "javascript:" in your code.
<4> ok
<5> There's no point in writing XHTML before you master _VALID_ HTML.
<5> http://pastebin.ca/142199
<4> ok, now i have this code http://pastebin.ca/142208 in which i concatenate a string to make up a script name (with query string variables)
<4> whi does js only remember the script name, but not the query string?
<4> *why
<5> You're using a reserved word.
<5> Change your variable name.
<4> :D
<4> doh
<4> hmm, I did that
<4> but it still only redirects to the name of the script, no query string
<5> I can't debug that with only those two lines though.
<5> The string itself isn't wrong.
<4> http://pastebin.ca/142234
<4> aw
<6> aw
<6> ?
<7> i need to some kind of menu .. when you click to slide down some links .. what should i look for on google ? somethie : For emocionts .. click here ..
<7> and just something to slide ..:)
<5> Define "something to slide" :-)
<7> when ..when the user click : For smiles click here
<7> some how .. to show him a little window .. with all the smiles ..and the he can close ..
<7> but not the popup window
<5> I can think of many ways that could be done...
<8> hey
<8> anyone tried ajax technology?
<7> Pilum give just one. .
<5> romeo\: Changing display value of a given element onclick perhaps.
<5> _check_: As I said, it's not a technology. And yes, I have used it.
<8> :)
<8> ok, well, my big question is the following...if someone writes an asp script...and inside it he encapsulates some VBScript by which he does the same thing (I mean the XMLHttpRequest & stuff)...will it give good results?
<8> what I'm thinking on is that only by javascript will ajax work...because vbscript is not executed on the client, but on the server
<8> now, is my theory good or not?



<5> It's strange at best.
<7> Pilum .. http://aa.uv.ro/a
<5> But the server script is irrelevant.
<5> Its job is just to output data based on input as it would do in any event. It doesn't even know that XMLHttpRequest exists, and it doesn't need to.
<7> so how can i do that ?
<8> Pilum, what do you mean by "It's strange at best" ?
<5> _check_: Means that what you said didn't make much sense.
<5> It also means that if you run VBScript on the server then that is no problem. But if you run it in the browser... bad idea.
<8> can you run vbscript on the client ?
<8> since VB is made by microsoft, IE may support it, but will firefox support VBScript as well
<8> ?
<5> Only in IE.
<5> Which is why it's a bad idea.
<5> But you can run it on the server all you like.
<8> but the again....
<8> how will the "ajax" thing work?
<8> let's say I have a button on a page and if you press it it will change the content of a DIV
<8> using javascript and ajax
<5> As far as the server is concerned, it works the same way as a browser going to that page in the normal way. It gets inputs, it runs a script, and it generates output.
<8> this way, the page is not reloaded, and only some info is sent to the client in response
<5> As far as the browser is concerned, well, you just said it.
<8> ok, but then if all is bone on the server side in VBScript, then ajax has no effect right? since at the button press all the page will be submitted, the server will recieve all the html page, do the vbscript stuff that uses ajax and send the pesponse...
<8> but here ajax is not really powerfull...
<8> or is it?
<5> It is.
<5> And you are wrong about the VBScript
<8> but why?
<5> You clearly don't fathom how it works.
<8> :|
<8> but I used it and I have seen it working
<8> also I've read up on it from the IBM site
<8> it explains everything clear
<5> Why then that question?
<5> The XMLHttpRequest just contacts the server and says "hey, send me those data based on these values". It doesn't care _how_ the server does it.
<8> dude, if I have a page.asp and inside it I have <% vbscript... %> then that vbscript will be executed on the server right?
<5> Exactly.
<8> now if I'm on the server, what sens does it make to ask myself only for a piece of code?
<8> it would make sense only if I would be on the client...then the small ammount would travel over the net...
<5> The whole point of it is to exchange data without reloading the page in the browser.
<8> I don't know if you see my point
<5> I don't think I do.
<8> :)
<8> never mind
<9> [09:38] <8> ok, well, my big question is the following...if someone writes an asp script...and inside it he encapsulates some VBScript by which he does the same thing (I mean the XMLHttpRequest & stuff)...will it give good results?
<9> recursive ajax?
<8> no, I don't think so
<9> about VB running on IE
<5> The server doesn't need (and probably doesn'
<9> if it's in <%, it counts a server-side, iirc
<9> so even in IE, it wouldn't matter
<5> *doesn't understand) ajax to do that.
<10> that smells the client/server side confusion here
<5> To send a request I mean. :-)
<5> Indeed it does, StaZ[work].
<11> what browsers support ajax
<5> IE, Mozilla, Opera. And probably Safari/Knoqueror.
<9> oh, this is javascript
<9> thought it was php
<9> yeah, supports Safari and Konqueror
<9> not full support on IE though
<9> doesn't support multipart and a few other things
<9> it might only be Mozilla that supports it
<12> good morning
<12> Can anyone point me towards some good documentation on how to deal with needing to store a reference to a setInterval that needs to clear itself?
<5> I usually omits the issue by emulating it with setTimeout.
<12> have a settimeout that resets itself until the condition is met?
<5> Yep.
<12> I'll try that. Thank you.
<13> hey guys, any idea why i am getting the error "Error: missing ) in parenthetical" - Source Code: disable_fields(); <-- from the code at: http://pastebot.nd.edu/154
<5> Why do you store the reference in a variable?
<13> which reference?
<5> var ele = document.regform.elements[i]; <- that one for example
<2> and look at the else part in check_radio for your error
<13> no reason really, i might have to add more to it later


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

httpxmlrequest
#linux
cannot find symbol testcase junit netbeans
#AllNiteCafe
#chatzone
play versions.txt
#c++
#linux
#london
chelseahair



Home  |  disclaimer  |  contact  |  submit quotes