How to run a javascript then trigger perl - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > Perl » How to run a javascript then trigger perl


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-13-2006   #1 (permalink)
hailey
Junior Member
 
Join Date: Jul 2006
Age: 43
Posts: 9
Default How to run a javascript then trigger perl

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
hailey is offline   Reply With Quote


Old 07-21-2006   #2 (permalink)
alex
Senior Member
 
alex's Avatar
 
Join Date: Jul 2006
Age: 30
Posts: 124
Default Re: How to run a javascript then trigger perl

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.
alex is offline   Reply With Quote

Old 07-23-2006   #3 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Re: How to run a javascript then trigger perl

Java script with Perl!!!

Get me the code...I will try though I never did this
Ankita is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript zkinny Forum Management 2 02-10-2006 03:52 PM


footer left
All times are GMT. The time now is 05:41 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Secured Loans | Credit Counseling | Loans | Debt Help | Myspace Layouts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49