Forum Moderators: open

Message Too Old, No Replies

Passing text Between an open text Box

         

sameer chandra

6:25 am on Oct 27, 2005 (gmt 0)

10+ Year Member



Sir,

I am not expert in JS but looking for help to make
this possible if java script is needed here.
I have a Web page devloped with Text Boxes along with edit buttons.When i click the edit button another small
small edit box opens to edit that text box with fonts etc.How do make this happen that as I type text in the small edit button text window, simultaneously the main Web Page text box that is getting edited also receives the "SAME TEXT ON THE DISPLAY".

Kindly help,

Sam

sameer chandra

6:42 am on Oct 27, 2005 (gmt 0)

10+ Year Member



What I ment in my query was dynamically working with a web page and a text boxes in it, and a small linked page with a text box for editing the main boxes.

thanks

Scally_Ally

8:07 am on Oct 27, 2005 (gmt 0)

10+ Year Member



If it is what i am thinking you are trying to achieve, kind of like a MS Word style editor where you can highlight text and set it to a different font and colour etc..?

I have tried this but needed to use a database, alot of javascript and continual page refreshes but even then it didnt work smoothly. (Although you can buy applets or active x components that can do the job for you).

Is this what you meant? I could post some of the code that i have written if you need it.

Ally

sameer chandra

8:38 am on Oct 27, 2005 (gmt 0)

10+ Year Member



That will be wonderfull,Sir if yuo can forward me that.

But let me be exactly clear what I am trying to acheive that is already happening on a web page that I am trying to acheive.

[ticoremarketing.com...]

if you are asked to login here are my login information,then on the home page click printable and then click create printable.It will take you to three diffrent pages with the continue button before we reach the page where
the edit button window inputs information at two differnet places.How is this working,Sir

userid = testuser
password = testuser

Thanks, eagerly waiting to hear!

SAM

Scally_Ally

8:55 am on Oct 27, 2005 (gmt 0)

10+ Year Member



I see, (I think)...

To get the page to update automatically you will have to get the window that opened the popup to refresh automatically, or whenevr the user changes on of the values from the dropdown box.

This could be done by calling a function when the select boxes onBlur is called.

function update(){
window.opener.refresh;
//or
window.opener.location.reload(true);
//you will need to pass the variables regarding the option chose in to the original page.
}

I think it will be something like this, i havent tested it.

Is this something like what you wanted?

sameer chandra

9:40 am on Oct 27, 2005 (gmt 0)

10+ Year Member



Wonderfull Sir,

I think you have given me the answer,this function call will work.I have one morequestion if you can help me,Sir.

How does the xml file and the images(.jpeg files), are to be imported TOGETHER TO the web-application together.

Thanks a lot!

Scally_Ally

11:33 am on Oct 27, 2005 (gmt 0)

10+ Year Member



How does the xml file and the images(.jpeg files), are to be imported TOGETHER TO the web-application together.

Dont know what you mean...

muneepenee

1:09 pm on Oct 27, 2005 (gmt 0)



1. wi dont yu let yuzer edit the original text boxes?
2. if yu wanna update stuff on the fli, yuze onkeydown tu kall a javascript funkshun wich then get the kontents av the edited box. funk kan du wotever yu tell it.