Stripping the code to bare essentials, I have a form
name="addPageForm" id="addPageForm" method="get" and I have an input type="text"
name="categoryTxt" id="categoryTxt" This is my script
<script> var strData = $('#addPageForm').serialize(); alert(strData); </script> The alert shows
categoryTxt= Where am I going wrong?