jsedrick
05-20-2004, 09:13 PM
I have a Javascript that references a hard coded url. Is there any way to have the javascript do a relative url.
My current code config looks like this..
function update_frame() {
var sUrl = "http://www.website.com/v4/process.asp" +
"?number_users=" + document.forms.roi_form.number_users.value +
"&hours_per_week=" + document.forms.roi_form.hours_per_week.value +
"&hourly_rate=" + document.forms.roi_form.hourly_rate.value +
"&software_license=" + document.forms.roi_form.software_license.value +
"&development_cost=" + document.forms.roi_form.development_cost.value +
"&ret=false"; :confused:
My current code config looks like this..
function update_frame() {
var sUrl = "http://www.website.com/v4/process.asp" +
"?number_users=" + document.forms.roi_form.number_users.value +
"&hours_per_week=" + document.forms.roi_form.hours_per_week.value +
"&hourly_rate=" + document.forms.roi_form.hourly_rate.value +
"&software_license=" + document.forms.roi_form.software_license.value +
"&development_cost=" + document.forms.roi_form.development_cost.value +
"&ret=false"; :confused: