If your textbox has an id or class attribute I'd use that to determine if it's visible/hidden/already loaded and based on that hide/show/load it.
If your textbox has an id or class attribute I'd use that to determine if it's visible/hidden/already loaded and based on that hide/show/load it. For example say the textbox has an id of reply you can do: jQuery('. Reply-button').
Live('click', function() { // Check if the textbox is on the page or if we need to load it via an ajax call if (jQuery('#reply'). Length == 0) { // The textbox isn't loaded on the page so call the ajax and append it var a = jQuery(this). Data('comment_id'); var be = jQuery(this).
Data('video_id'); var c = jQuery(this). Data('comment_quote'); var d = jQuery(this). Data('reply_name'); var e = jQuery(this).
Data('quote_body'); var f = jQuery(this). Data('topic_name'); var thiss = this; jQuery. Ajax({ type: "POST", url: "Html->url(array('controller' => 'comments', 'action' => 'reply'));?
>", data: { comment_id: a, video_id: b, comment_quote: c, reply_name: d , quote_body: e , topic_name: f }, success: function(html) { thiss.parent().parent().parent(). Append(html); } }); } else { // The textbox is on the page so check if its visible/showing if (jQuery('#reply'). Is(':visible')) { // The textbox is visible so hide it jQuery('#reply').hide(); } else { // The textbox is hidden so show it jQuery('#reply').show(); } } }); Edit: I also change your var thiss = jQuery(this); to var thiss = this; as this is already a jQuery object so it doesn't need to go through jQuery(this) to turn it into one.
Many thanks kind sir – user1032854 Nov 18 at 0:27.
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.