/    Sign up×
Community /Pin to ProfileBookmark

Problem filling Select dinamicaly created with JS using Ajax

here is the link with the sample…

[url]http://control.corporativofloga.com/test1.php[/url]

as you can see, when you load the third select the second select is filled as it should but it never reaches ajax.runAjax…

Also when you change the first combo… the second one doest take the options from the database untill the second is filled… and also it doesnt asigns the selected index on the autorefresh T.T

Thanks

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Nov 12.2007 — From Firebug I see the error:

<i>
</i>uncaught exception: [Exception... "Component returned failure code: 0xc1f30001 (NS_ERROR_NOT_INITIALIZED) [nsIXMLHttpRequest.send]" nsresult: "0xc1f30001 (NS_ERROR_NOT_INITIALIZED)" location: "JS frame :: javascript: eval(__firebugTemp__); :: anonymous :: line 1" data: no]

Line 0


sounds like you are calling send twice or you are calling send without open. Download Firebug if you do not have it and learn to debug with it.

Eric
Copy linkTweet thisAlerts:
@celhyaauthorNov 12.2007 — Thanks i didint knew there was a debugger for it ?
×

Success!

Help @celhya spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.23,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...