Categories

 

 

 

Valid XHTML 1.0 Transitional

 

Valid CSS!

 

Forums > Client Side Scripting

Subject: Insert Record - Server behaviour disappeared

Posted By Message  
vu3apq
Mon 2nd Nov '09
12:15
user
Hi friends

I used to insert a block of scripts to send mail to the web site admin and submitter after inserting record (feedback in contact us page) in a site.

As I followed the instructions found in Webthang, this will go just bellow the line:
MM_editCmd.ActiveConnection.Close

Every thing is working fine including sending mails.

But later, while try to modify the 'Insert Record', I can't find this in the 'Server behaviour' panel.

This will re-appear after removing the script from the page.

Is there any way to bypass or rectify this issue ?

Regards
Anish
Report Post
Rob
Mon 2nd Nov '09
18:33
admin
If you modified the behaviour using the toolbar options, then Dreamweaver will have effectively overwritten the altered code of yours with the latest version of its own.

Unfortunately, DW doesn't care much for code other than its own standard templated stuff, in this case, you should either update the existing code you worked off originally, or keep a copy and merge back in.

Or you could always sub the extra code out and call it from the freshly built DW code when required.
Report Post
vu3apq
Tue 3rd Nov '09
13:54
user
Thanks Rob for the reply

As you described, removing the code block and inserting it back again is going on now.

Regards
Anish
Report Post

Reply