Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,901
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
I learn it some how . I write the following code but I have a problem . When I click on the image the text is added but when I type something in the text area it doesn’t work any more !!!
What’s the problem ?
`
$(document).ready(function(){
$(“#sml”).click(function(){
$(“#whatsnew”).append(“e”);
});
});
<img id="sml" src="s33.gif" onclick=addtext('
‘) alt=”Smiley face” />
`