Hello ,

I need to do like this

FIND YOUR RATE
CALLING FROM,
[dropdown]
CALLING TO,
[dropdown]
SEE ALL CALLING RATES

after i select value from calling to drop down i want show charge for that country in popup box or under this form.
how would i do that .. please help me.
thank you.have a nice day.
mad-doc is online now Add to mad-doc's Reputation Report Post Reply With Quote

There is a lot to try and put it all together for you in code.

The idea though is to put the following under your form:

<div id="chargeDisplay"></div>

Then in your function or change action you can do the math and display the total inside the div:

document.getElementById('chargeDisplay').innerHTML = computedTotal;

Hope that helps get you going.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.