PDA

View Full Version : AutoSave Form with ASP.NET



PyrotecNick
01-17-2019, 07:55 PM
1) Script Title: Auto Save Form script

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex16/autosaveform.htm

3) Describe problem:

Whenever I try to integrate this script with any of my ASP.NET sites (C# or VB) I am getting a browser error of Cannot read property 'elements' of undefined.
It's referring to line 29 so line 27

var $f = $('form#' + setting.formid).css({ position: 'relative' })
does not seem to be finding the form correctly. Has one else experienced something like this?

I can't really share my site as it's an internal site that is dependent on database access to function.