Skip to content
Advertisement

Tag: jquery

Jquery predefined textarea wont clear

Prefilling a textarea with data pulled from a DB. <textarea name=”body” id=”body” rows=”5″ cols=”70″><? echo $body; ?></textarea> I have a clear button to make it easier for the user to wipe a large chunk of text without having to highlight and delete. The button uses an onclick=”clear();” function call. Here is the function… The problem is it wont clear the

Nan in jquery to view multiple row values

When I display single row value ((quantity * product) = total) it works. But adding more values in a row using session causes it display an error like NaN when i change quantity values. My code: &…

Advertisement