max pena

Greenhorn
+ Follow
since Dec 09, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by max pena

hello
I need disable the submit button and enable this if the result is true.
i have tryed self but i cant do it this:
something like this :
var xmlMessage=xmlHttpRequest.responseXML;
As an alternative to processing an XML response, you could use xmlHttpRequest.responseText if you just are receiving �true�...
The responseXML object is an XML DOM object. Obtain the value of the & lt;valid& lt; element using getElementsByTagName(String) method.
var valid=xmlMessage.getElementsByTagName("valid")[0].firstChild.nodeValue;
If the & lt;valid& lt; element value is true, set the HTML of validationMessage div element in the Catalog Id field row to �Catalog Id is Valid�. Enable the submit button in the input form.




If the & lt;valid/& lt; element value is false, set the HTML of the validationMessage div element in Catalog ID field row to "Catalog Id is not Valid". Disable the submit button, and set the values of the other input fields.







PLEASE HELP...
I HAVE TRYED WITH BUT NOT WORK





HOW I CAN DOING THIS IN MY SCRIPT