It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 43
Posts: 9
|
I have a web interface that uses javascript to create a modal window, allowing the user to enter new data. What I want to do is refresh the parent page with the newly added data, when the user clicks OK on the modal.
The parent page is generated with perl, as it has to read the contents of a directory, so the only way I can think to do it, is to trigger the perl with the javascript when it's done, but it sounds messy. Does anyone know how to do what I need, either how I think it will have to work, else a cleaner method? Thanks Hailey |
|
|
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Jul 2006
Age: 30
Posts: 124
|
Post the coding here.
You can't really do JavaScript with perl. You can however, print the <script> tags and point the location to the javascript, and then write the javascript file with perl if you want but that gets messy. Lets see the code, will be able to do more. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript | zkinny | Forum Management | 2 | 02-10-2006 03:52 PM |