/    Sign up×
Community /Pin to ProfileBookmark

Get input values from seperate url???

Is it possible in simple html/js to populate input values in Page2 with input values from Page1 without writing a script for each input?

Page1: FRAMES.htm –
<input type=”hidden” height=”0″ name=”order_no” value=”{ORDER_NO}”>
(Value passed dynamically from PHP.CRM)

USING SOMETHING LIKE….
Page2 MAIN_FRAME.htm
<input readonly type=”text” name=”order_no” size=”20″ value=”value.document_page1.order_no”>

Or rerhaps using CSS to class the inputs in page 2??

I know, I know… Why not just have the CRM pass the value directly to page2 in the first place right? LONG STORY, DON’T ASK. Can it be done and in what syntax?

Anyone???

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326May 19.2006 — If php wrote 'em in the first page it can write 'em in the others.
Copy linkTweet thisAlerts:
@tjmcdauthorMay 19.2006 — Thanks Ray,

Yes I'm sure PHP could write to the other pages but as the "others" total 18 in number and my PHP ability is virtually non-existant, I would much prefer to have the data remain as it currently is-- passed once-- to the master frames page and have the "other" 18 pages look to this one document for their values. The question remains, is this do-able?

Anyone else? Please and thank you!
×

Success!

Help @tjmcd spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...