Yours is not using AJAX. Mine does not have a submit button. It uses JavaScript tied to the OnKeyUp event in the zip code element, and the OnChange event tied to the state drop down.
I figured out what is going on but I don't know how to fix it.
The code is looking for HTML elements on the page to be named Quantity, VariantID, etc.
C#/VB.NET Code:
if(document.getElementById('Quantity') == undefined || document.getElementById('VariantID') == undefined)
{
return;
}
But the elements on the page are Quanity_(ProductID)_(VariantID) ex. Quantity_103_102. and VariantID_155_155. Etc.
C#/VB.NET Code:
<input type="text" maxlength="4" size="3" id="Quantity_159_159" name="Quantity_159_159" value="1">
<input type="hidden" name="VariantID_159_159" id="VariantID_159_159" value="159">
If I knew how to get the current ProductID and VariantID in the Javascript, it might work.