It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes ajax dojo problem with struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "ajax dojo problem with struts2" Watch "ajax dojo problem with struts2" New topic

ajax dojo problem with struts2

geeta kumari gonchala

Joined: Jan 07, 2009
Posts: 9
Hi friends ,

I am using ajax for displaying values in drop down list in jsp in struuts2.Its working fine in internet explorer .but not working in mozilla.
this is the error i'm getting in error console of mozilla

Error: no element found
Source File:
Line: 1

can any body help me please.
thanks in avance.

Thanks in advance
Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

"geeta java developer", welcome to the Ranch.

Please check out the Naming Policy and update your display name to one that is not obviously fictitious.

It might be more helpful if you post a couple lines of the javascript code, particularly at the line number the error is complaining about.

I'm going to move this over to our JavaScript forum, as the one you've posted to is reserved for talk about certification exams.

A good workman is known by his tools.
geeta kumari gonchala

Joined: Jan 07, 2009
Posts: 9
thanks for your reply,
this is the code i'm using

this code is in one page

<lms:head theme="ajax" />
<lms:url id="fetchTopics_url" action="fetchTopicsBySubject" />
<lms:div showLoadingText="true" loadingText="<FONT color=MAROON>Loading Topics .... </FONT>" id="concepts" href="% {fetchTopics_url}" theme="ajax" listenTopics="fetchTopicsBySubject" formId="createConceptShow_frm">
function fetchTopicsBySubject() {

var cn = document.getElementById("ConceptName");
if(cn != null)
cn.value = "";

for this i have another jsp to merge.that page code is like this

<%@ taglib prefix="lms" uri="/struts-tags"%>

<lms:head theme="ajax" />

<lms:if test="topics != null">

<lms:select name="topicId" cssClass="size"
listValue="topicName" headerKey="0" headerValue=" "
onchange="javascript:updateTopicNameToTextField(this.form);return false;"

this is working fine in IE but not in mozilla .

thanks in advance.
I agree. Here's the link:
subject: ajax dojo problem with struts2
It's not a secret anymore!