Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a new frame containing the form on the same page below the link

Status
Not open for further replies.

amorous

Programmer
Sep 5, 2003
1,008
US
Hi Guys...

I have an ASP page(a dummy one) that looks like below:

***************************
Information about an item you selected..

Item #:XXXXXX
Item Name: XXXXX

Here are your options:

1.Update the information for this item
2.Delete this item

these above two are links

********************************

Now my question is-- When the user click on the link 1(update)...How can i open a form (may be a new sub frame) below the link on the same page..

the reason is i want the user to see the present information which is available on top of the page while updating or deleting the information??

Any Suggestions.....

-VJ

 
is this something i can achieve in Javascript or can i do it with ASP/HTML???

-VJ
 
request the name of the form submit button or the querystring at the top of the page then show the update form or delete said item.

Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems
 
Hi Chris..

Hmm...I am not quite sure of what you suggested?? Is the present information still viewable by the user while updating the information??

-VJ
 
Pseudo Code

request information from submit button(s)

if "changed"
do update
get updated info
end if

show current info

if submit is empty or changed
show form with update and delete options
end if

if "delete" then
do delete
elseif update
show update form and buttons
end if



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems
 
Crossposted: Tek-Tips.Forums("javascript").Threads.GetThreadWithContent("rubber chicken")

or for the rest of us: thread216-865106

01000111 01101111 01110100 00100000 01000011 01101111 01100110 01100110 01100101 01100101 00111111
The never-completed website:
 
Hello Guys...

Sorry for the Crossposting...

-VJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top