Hi,
i have page called data having price and item check boxes along with value.
if user clicks on the check box accordinly another page called total should get updated. This has to be done by javascript
Regards
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jiteendra SampathiraoPosted Jul 12, 2011, 6:20 AM
refer this Link
hope it resolve ur problem...
Sutha ShaliniPosted Jul 12, 2011, 3:20 AM
i have data.html page in that two values with check boxes for each, when the check box is selected, the summation of both the values should be displayed in the total.html page
thanks
Jiteendra SampathiraoPosted Jul 12, 2011, 3:08 AM
Checkbox:
get the value:
if(document.form.chkbox.checked==true)
{
var abc= document.form.chkbox.value;
}
Refer:
http://www.netevolution.co.uk/scripts.asp?ID=25
i hope it help you..
Om prakash SinghPosted Jul 12, 2011, 3:03 AM
if your data page is open by using javascript function
window.open() as a pop up page from total page.
Then you can pass the current total amount in querystring and
on checkbox click event call javascript function.
In javascript function,
add the values and use
window.opener.document.forms[0].getElementById('control ID of toptal page").value =yourvalue;
to assign the value to update the total of total page.