473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

ajax+onload event=many more insomnian nights ;(((

Hello all.I use one script for options transfer from multiple select boxes
http://www.mattkruse.com/javascript/optiontransfer/
This script use onLoad event in body tag
onLoad="opt.init(document.forms[0])"
and if I try use load this in any div with ajax call back.... nothing...I search in the net and try this

<script LANGUAGE="JavaScript">
function init() {
opt.init(document.forms[0]);
}
window.onload = init;
</SCRIPT>

but no success... I try to declare null value for opt in start before var opt = new OptionTransfer("list1","list2"); but once again- no success... If anyone can help me with right soluttion?
Many thanks in advance.
Jhon Hleb
May 12 '07 #1
1 1616
acoder
16,027 Expert Mod 8TB
Post your code or a link. Maybe there's a conflict in naming.
May 14 '07 #2

Sign in to post your reply or Sign up for a free account.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.