72
rated 0 times
[
76]
[
4]
/ answers: 1 / hits: 83890
/ 11 Years ago, thu, march 14, 2013, 12:00:00
I have searched on the forum and saw posts about changing text dynamically upon click. But in my case I want to change the display dynamically when loading the page from beginning. I already have a function that figure out what I should display:
function phone()
{
//code here
return phone;
}
And my question is how to display the returned phone number in the div below to replace the 1.888.888.8888 part. Can anyone offer some insights? Thank you!
<div class=add-info>
<span class=rightfloat>Order online <span class=red>or call 1.888.888.8888</span></span>
</div>
More From » html