Click to See Complete Forum and Search --> : Posts and redirect!!!


Cipher
11-17-2005, 10:14 AM
Would you take a look at Snapshots pictures first please.
when page is loaded you'll find one dropmenu, i use onChange JS function for this drop down menu
function Reload() {
ind = form1.Tables.selectedIndex;
Topic = form1.Tables.options[ind].value;
location.href = "ameg_admin.php?Table=" + Topic + "&ind=" + ind;
}
all of this works fine then i read from QueryStrings to view all controls dependeing on table user choosed with JS also.
the problem is in the "edit", "delete" buttons, when the user click on of them i need to return to same page i were in, i tried to use same function again but didnt work, always returns me to the original page, as in Snapshot3. any help?!

bokeh
11-17-2005, 10:20 AM
You need the javascript forum.

Cipher
11-17-2005, 12:16 PM
but i guess the problem is in PHP because its in the post, if i use normal submit button, wont reload the original page and will perform the button funtion