PDA

View Full Version : Field Limiter stops working when called into div with ajax



dragon_sa
03-07-2012, 04:39 AM
1) Script Title:
Form field Limiter v2.0
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex16/limitinput.htm
3) Describe problem:
The above script works fine except in the instance when I use ajax to call the page with this script into another div tag on the page

I test the page by itself the character count shows and works fin, but when the same page is loaded into another div tag on a page with an ajax call the script no longer functions, I dont know if it is to do with the way it is referencing the id's, as I have even tried the page by itself with all the other scripts on it and it still works, its only when called into that div tag

Any Ideas?

here it is working
Links no longer valid

then test it here same page when you click manage gallery=>manage galleries
Links no longer valid

dragon_sa
03-07-2012, 02:36 PM
I have since decided not to bother with this script and reverted to the form input tag maxlength.

Thanks to all those that looked.