Help with Javascript Bug

In Progress Posted Sep 14, 2002 Paid on delivery
In Progress Paid on delivery

Hi attached is a sample ASP with some javascript that does not seem to be working correctly. The page dynamically inserts some elements using the [login to view URL]("xxx") syntax. This part works ok, but other things do not. There is some javascript code included in the setAttribute statement for one of the dynamically added items, but this code does not fire. My guess is that maybe the new item is generated outside of the form? But it seems to be in there properly as evidenced by clicking on the Show All button. Is it simply javascript does not work for dynamically added items? In my example ASP page, there are only 3 buttons on the page that are of concern. 1. The button labeled "Button" - This one dynamically creates a button. 2. The newly created button "btn" - There is javascript in this button, but nothing happens. 3. The "Show All" button, this displays some HTML information about certain document elements. I added this because the "View Source" option does not include any dynamically added elements. In a nutshell, I need to be able to dynamically create screen items that the user wishes to add, and I need each of these items to support javascript. IMPORTANT: I am only looking for a bug fix, not an expensive complete re-write.

## Deliverables

working code example

## Platform

browsers

Apple Safari Engineering Google Chrome Java MySQL PHP Software Architecture Software Testing

Project ID: #2870597

About the project

8 proposals Remote project Active Sep 14, 2002

8 freelancers are bidding on average $15 for this job

agrasth

See private message.

$10.2 USD in 14 days
(107 Reviews)
6.2
robert2008

See private message.

$17 USD in 14 days
(84 Reviews)
5.9
sarderhasnut

See private message.

$17 USD in 14 days
(54 Reviews)
4.8
etmatt

See private message.

$17 USD in 14 days
(6 Reviews)
2.7
INSPL

See private message.

$17 USD in 14 days
(1 Review)
1.9
apang99

See private message.

$17 USD in 14 days
(0 Reviews)
0.0
haasvw

See private message.

$17 USD in 14 days
(0 Reviews)
0.0
codenameangel

See private message.

$5.1 USD in 14 days
(2 Reviews)
0.0