my function
function verify_range()
{
if((sale_price.value)<xsl:value-of select="'<'" disable-output-escaping="yes"/> document.getElementById('PS_FORM/MARKET_DATA/NeighborhoodSales1')
{
document.getElementById('PS_FORM/MARKET_DATA/NeighborhoodSales1').value = adjusted_value.value;
}
}
The function is supposed to look at data from 2 fields. If data field 2 which is sale_price.value is less than neighborhoodsales1 then neighborhoodsales is the sale_price.
This is in html but reads off of xsl and html. I am unsure of how to do less than because i tried < and an error pops up when i use that symbol.
Thanks in advance
If this function is in the middle of some XSLT then
<is a special character and will be considered as tag start. Although it could be prevented using this:With this you say that no XML parsing should be performed with this text and you can use
<in the function in normal way.