Morning!
I'm pretty new to JQuery/JS, but thanks to all the excellent documentation coding hasn't been a problem so far. However, I've become a bit stuck and need some help.
Some background:
I'm writing an iPhone web app that connects to a C# web server. When the user selects a particular button:
- a post is made to the web server
- the web server sends back html buttons.
- the web app places the buttons in a #result <div> (using ("#result").html( content_received ); )
The above works really well. The buttons are formated and displayed correctly. However, the buttons are not selectable. I have another JQuery command that will catch the button press and send a new query back to the web server.
I've looked at the html source, once the page has loaded, and even though the buttons are displayed, they are not reflected in the source. You only see <div id="result"></div> and no reference to the buttons. Now I'm guessing this why the buttons are not working.
How can I fix this?
Any help would be appreciated!
Regards
Wesley