Jquery selector doesn't work when dynamically append html?

Take out the space between params and :last $('. Params:last'). Html('aaakeyword in profilelast tweet').

Thanks a lot,your answer is really fast! – gbstack Jun 17 at 15:10 it's my pleasure :) – Patricia Jun 17 at 15:11.

Your content seems to be added after the dom has been loaded. Try live api.jquery.com/live.

Your solution works too,but Patricla is faster.. – gbstack Jun 17 at 15:15.

Well your CSS selector is imporper should be $('. Params:last-child') or $('. Params:last') I think the space bar is not allowed there.

Also no one forbis You from using the object you've created: $(function(){ var param_html = ''; $("inputvalue='+'"). Click(function(){ $('#parameters'). Append(param_html); $(param_html).

Html('aaakeyword in profilelast tweet'); }); }); If you are going to use AJAX in future then the same idea will work instead of reselecting the object use to one you've created.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions