Button undoing my jquery -


i have dot net nuke app using controls have no access try , manipulate htmp tables etc. through jquery. have added code change layout of table when "save later" button on page clicked undoes jquery , table layout reverts ???? when button clicked there spinner page not reload. how preserve jquery code

this button

<input type="button" name="dnn$ctr854$dnnwebcontrolcontainer$ctl00$productinvbuyboxcontrol$productdetailactionbuttoncontrol1$addwishlistbutton"         value="save later"         onclick="javascript:__dopostback(&#39;dnn$ctr854$dnnwebcontrolcontainer$ctl00$productinvbuyboxcontrol$productdetailactionbuttoncontrol1$addwishlistbutton&#39;,&#39;&#39;)"         id="dnn_ctr854_dnnwebcontrolcontainer_ctl00_productinvbuyboxcontrol_productdetailactionbuttoncontrol1_addwishlistbutton" class="wishlist" /> 

this table

    <table>         <tr>             <td class="savingsmembers">members</td>             <td class="savingsvalue">save $5.00 or more</td>             <td class="savingsjoin"><input type="button" name="dnn$ctr854$dnnwebcontrolcontainer$ctl00$cartsavingscontrols1$button2" value="join" onclick="javascript:__dopostback(&#39;dnn$ctr854$dnnwebcontrolcontainer$ctl00$cartsavingscontrols1$button2&#39;,&#39;&#39;)" id="dnn_ctr854_dnnwebcontrolcontainer_ctl00_cartsavingscontrols1_button2" class="linkbutton" /></td>         </tr>     </table>  </div> 

and jquery

$(document).ready(function () {         $('#dnn_ctr854_dnnwebcontrolcontainer_ctl00_cartsavingscontrols1_panelmemberscansave table').find('td').unwrap().wrap($('<tr/>'));          $(".savingsmembers").html("acp members");         $("#dnn_ctr854_dnnwebcontrolcontainer_ctl00_cartsavingscontrols1_button2.linkbutton").val("join acp today");          $(".savingslogin span").html("to see if qualify discount");      }); 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -