Did you try using the ascii code for the hash character like?...
<CFSET MyChart = #Replace(Mychart, '<TD bgcolor=' & chr(35) & 'FFFFFF>', '<TD bgcolor=' & chr(35) & '000000>', 'ALL')#>
Using <cfinput tag has a 'required' field and a 'message' field. If you set required="yes", upon Submit, if the field is empty, the message will be displayed. The user will need to fill this field before continuing.
You can pass the javascript function the #currentrow#. Inside the function you can use
document.Form.elements['qty' + currentRow].value and
document.Form.elements['increment' + currentRow].value
I hope that helps.
Because you are probably selecting an id field in which that record with that id has a report number. These individual id's may reference a similar report number. Your query will return distinct records, not necessarily reportnumbers.
Thank you for your suggestions. I had an <input type="text>
and I wanted to make it a <select, which did not work using innerHTML. I did resolve my problem though by making the field a select to begin with.
Hi, is there a way I can delete a Form field (if it exists) using Javascript so that I can create a new field with the same name (different type) as the deleted field?
Hi, I only worry about and work with IE, but I just did a search for doing the same in Netscape, and came accross the following. It still works with IE, but I haven't checked it with Netsccape...
firstwindow = window.self;
firstwindow.opener = window.self;
firstwindow.close();
It said...
Is there any reason you aren't you using Cold Fusions's built in validation?
<cfinput type="text" required="yes" message="Please enter Reference's first name" ...
I'm not sure if your question has been answered yet, but here is how I have handled your situation...
<SCRIPT LANGUAGE="JavaScript">
function closeMe()
{
window.open(yourPage with info); window.opener=null;
window.close();
}
</SCRIPT>
<BODY onload="closeMe()"></body>
All you have to do is have a javascript function accepting the 2 select boxes as parameters. Loop through the first one and if the current item is selected, add it to the second. Set the current item of the first list box value to null and decrement the current counter after adding the current...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.