troubleshooting Question

Coldfusion ajax error alert message

Avatar of Wirt
WirtFlag for United States of America asked on
Web Development SoftwareWeb ServersColdFusion Language
6 Comments1 Solution328 ViewsLast Modified:
I've got a series of <cfinputs> that are binded to a cfc. The problem is that if the page runs into an error during the load I get these JavaScript alert messages.
"Bind failed, element not found: remoteSupport[Enable debugging by adding 'cfdebug' to you url parameters to see more information]"

I have a restriction on my server that prevents me from using CFTRY, so is there any other way to prevent these alerts?
<!--- Remote Owner--->
			  <td class="formLabel" >Remote Support<br />
				<A HREF="" TARGET="RESOURCE WINDOW"><u>WebPhone</u></A>
			   <td class="formElement" id="remoteX">
			   	<label class="bluetext"  id="remoteNoName"<cfif #remoteOwner# NEQ ''>style="display:none"</cfif>>To add a Remote Support. <br/>Change the status to Sent to Remote</label>
				<div id="rmtDiv" <cfif #remoteOwner# EQ ''>style="display:none"</cfif>>
				<input type="text" size="7" maxlength="6" name="remoteSupport" value="#remoteOwner#"  />
				<cfinput name="uuidNameRemote" bind="cfc:#utilityCFC#.getUserName({remoteSupport@keyup})" class="noBorder" readonly="true" size="0"bindOnLoad="true" onbinderror="ajaxBindAlert()">
				<input title="*Unable to verfiy UUID"
				class="anything" name="conditional"
				type="hidden" value="uuidNameRemote"

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros