codehaven - php snippets - coding help
Generic filters
Exact matches only

Post response data validation if else

12th March 2014

Jquery - Forms-Posting

jquery icon

This code lets you do something if the response back is of a certain length.
In this case if the database already had a tag called that, the response was shorter than if it had not. Therefore it would stop an action happening.
Cant figure out how to stop it if a string was actual text! (usually simple).

Was this code snippet helpful?