Guys, I'm having a bit of a dumb day...
Called from a combo onChange event, works fine in IE but not firefox, have tried getElementById('').src but this doesn't work either...
I'm going to kick myself when monksnake replies to this at lightning speeds!!![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)
Cheers
Nick
Code:
function GetPrice(ds, cabin){
var guests = document.getElementById('NoGuests').value;
var nights = document.getElementById('NoNights').value;
var iframe = window.frames['GetTotalPrice'];
if(document.getElementById('Dogs')){
var dogs = document.getElementById('Dogs').value;
iframe.location='CalcPrice.asp?cab='+cabin+'&ds='+ds+'&g='+guests+'&n='+nights+'&Dogs='+dogs;
}
else
{
iframe.location='CalcPrice.asp?cab='+cabin+'&ds='+ds+'&g='+guests+'&n='+nights;
}
}
Called from a combo onChange event, works fine in IE but not firefox, have tried getElementById('').src but this doesn't work either...
I'm going to kick myself when monksnake replies to this at lightning speeds!!
![[wink] [wink] [wink]](/data/assets/smilies/wink.gif)
Cheers
Nick