I'm doing a program in order to manipulate a mysql database.
As server does not allow remote connection with the database, i need do this program using php / javascript
Program has two frames: Top frame has the process buttons ( New, Delete, Modify, Refresh, etc) and Main frame has the data.
Figure 1:
Main Frame table has a radio button controls, in order to determine what record i want to process.
Using this javascript i can get the real ID of the row of the table:
Code: Select all
for (var x = 0; x < 15; x++) { if (document.getElementsByName('cual')[x].checked) { alert('id = ' + document.getElementsByName('cual') [x].value);}}
As the buttons of the program are in the top frame, i can't get the window.frames.mainFrame.document.etc values, based on a security reasons.
Are there any way to connect actions within top frame with data at mainFrame ?
Any ideas ?
Thanks in advance,
David de Argentina