My Code is Below.
$(document).ready(function () {
$("#btn").click(function () {
$("div").css("background-color", "red");
})
})
This My Div and I want to change color of this div
Problem with this code is : when i click on button then post back is occur and effect of jquery is remove
So please tell me what should i do to make jQuery Effect permanently
thanks in Advance

Rashmiranjan DalabeheraRank #2,067 · 700 reputationPosted Oct 5, 2015, 8:32 PM EDT
Vipan SharmaRank #1,589 · 999 reputationPosted Oct 5, 2015, 8:38 PM EDT
Priyaranjan K SRank #45 · 32.5K reputationPosted Oct 5, 2015, 8:47 PM EDT
Pankaj Kumar3 reputationPosted Oct 5, 2015, 9:30 PM EDT
Vipan SharmaRank #1,589 · 999 reputationPosted Oct 5, 2015, 9:49 PM EDT