@# Quotes DB     useful, funny, interesting





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



Comments:

<0> [Torgo], ht311... so it works on IE, but not on Firefox... i'll use post-treatment indeed this
<0> thx
<0> If we block javascript from FF, does ajax website will run?... So... if yes, why browsers offer this functionnality?... Web2.0 will crash ?
<1> only drunk half the kool aid, eh?
<0> humm loll correction : So... if not
<2> hello
<2> how are you people?
<3> good thanks
<2> :)
<2> I'm glad to hear that :
<2> :)
<4> hello room
<4> anybody home?
<4> i need a little help with javascript, can someone please respond?
<5> don't ask to ask, just state your question and wait
<4> hmm okay, didn't know if anyone was behind the keys, im writing a script for adding stuff in php, but i need a javascript to print the values that were selected in a jumpbox, in realtime



<4> and i dont know the slightest thing about javascript
<4> so i hava jumpbox, the selected needs to be printed in a table, and php needs to pick up the values from there for processing
<5> jumpbox?
<4> yeah a list (html) were values can be selected
<5> you don't sound like you know html
<4> i know html
<5> "php needs to pick up?
<4> let me explain..
<5> that is call form submit
<4> i have a jumpbox thats being fed by php/mysql, users can pick values from it
<4> when they do, i need javascript to print the selected in another table in realtime
<5> you are talking funny thing....
<5> just use a list of links and put querystring info in the href
<5> nav.php?link1
<4> i need users to pick multiple values and the order is important to
<4> thats why i need it printed to another table first
<5> it is called a SELECT in FORM
<4> yes but that way i lose the order in wich the values were picked
<5> ok, you need to get the value from one list and copy to another list, don't invent the term no one understand
<4> im sorry, if i didn't express myself proper. not native english
<6> brb
<4> so is there any way of doing this? it seems to me like it's only a couple of javascript-lines?
<1> two select boxes, add/remove buttons between 'em
<4> yeah Torgo and for the javascript part?
<1> google it
<4> i've spend the last 2 hours googling, any chance of you hooking me up with a good tut or snippet?
<1> http://groups.google.com/groups/search?q=javascript+dual+list+boxes&hl=en&;
<4> okay will look into it, thnx
<6> because you seaching for "jumpbox" ? :P
<4> ht311, no tried different searches most hits where just simple javascript snippets to send the browser to the selected value.. was not what is was looking for
<7> Hi Folks!,
<7> does anybody have experience with Domapi ?
<7> I'd like to print just the Window widget..
<5> just the window or the window content?
<7> the window content
<7> but it prints what is in background too
<5> either you have use the iframe as the content
<5> or get the content put it in a hidden iframe, and print the iframe
<7> it doesn't work with a simple div?
<7> when I use Iframe, I just get an empty window.. because I'm using innerhtml
<7> you know.
<5> there is nothing in the browser to print just the content of one div
<7> what do you mean ?
<7> pardon..
<5> that's what I am saying either you have put the content to a sperate page and use the iframe mode of the window to load that content
<7> No, I have a form behind.. when the user fills the form
<7> then a create a parent.domapi.window
<7> and fill that window using innerhtml.. with the results..
<7> you know.
<5> or have a hidden iframe, get the innerhtml of your window. then write the content to the hidden iframe
<5> then print the iframe
<7> ok
<7> but what am I doing wrong, because if I use the windowtype="IFrame", it doesn't fill the window with my content.. using innerhtml
<5> you have to fill the content by getting the iframe's document
<7> Sorry
<7> My connection is not goo
<7> My connection is not good
<7> but using Iframe.. I just can fill the window using loadurl or via JSON..
<7> am I correct?
<7> or using TransferElm..
<5> don't transferelm



<7> Let me tell you clearly what I'm doing..
<5> iframe has a seperated document.
<7> Well, I have a form.. The user fills the form.. then I calculate some indicators with its form
<7> then I open a window widget.. with the indicators calculated.. an output in html
<7> you know.
<5> you want to use the window as a fancy msg box>
<5> ?
<7> exactly. but it has fields filled and two buttons.. one to print and other to save the data to database using ajax...
<7> ;)
<5> but they can print the coent
<5> errr, content
<7> it prints the window dropped and everything behind...
<7> you know
<7> I'd like to print just the window dropped's content
<5> try mywindow.workspace.getDocument().body.innerHTML = ......
<7> ok..
<7> and the print command..
<5> mywindow.workspace.print may be
<7> ok
<5> you hav to undestand only window can print, you cna't print just a part of the page
<5> (unless , you play the css media type)
<7> yes
<7> I know.. using workspace.. it closed my window..
<5> huh?
<7> yes..
<7> he did a submit. and close the first window.. really crazy
<5> it is your code, not the workspace things
<7> do you want to check it out?
<7> can I send to you..
<7> it's very short..
<5> http://pastebin.ca
<7> I sent it
<7> did you get it ?
<5> give me the url
<7> ok.. I'll transfer it to the server.
<5> I mean the pastebin number, but it will good to have url
<5> oW.workspace.innerHTML .... you are not writing the to iframe
<7> yes
<5> oW.workspace.getDocument().write(... or oW.workspace.getDocument().body.innertHTML
<5> usign iframemode
<7> ok
<5> you posting a form inside there, sure the whole page will be refreshed
<7> so I change the window type to IFRAME.. then use oW.workspace.getDocument...
<7> ok
<5> try it, or something liek that.
<7> with inner html nop
<7> I'll try with write
<7> with write is not working too
<7> with oW.workspace.getDocument().body.innertHTML at least shows the window
<7> but not the content
<5> test with something simple, you should atleas able to change its content
<5> you write a whole document there, you may need to trim something out
<7> yes.. but this work with a div.. not an Iframe type
<7> you know..
<7> there's something that I'm missing with the Iframe time
<7> type
<7> because it has loadUrl
<7> it has tranferElm
<7> if it has a method LoadFromString = ""
<7> should be easy.. you know.
<5> domapi spoiled you
<7> pardon.. what do you mean with that ?
<3> made ya lazy
<5> heh
<7> ah..
<7> ok.. my friend.
<5> you need to find out how to write content to the iframe properly
<7> ok
<7> don't worry I'll try to over here. until I find the way ok
<5> and make sure the stuff you write to it can stand on its own without depend on the current document content
<5> that why I ask you try with something simple first
<8> what is it i'm after, if i wana detect if a browser has javascript disabled or not?
<5> NeoFuture is the iframe monster ... err .. master
<3> Ugly_Duck :D


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#AllNiteCafe
#mysql
starcraft ubuntu ipx
#squid
#mirc
#AllNiteCafe
cisco 827 dmz ipcop
codurii de site
script putty
php subdate interval



Home  |  disclaimer  |  contact  |  submit quotes