Click here to Skip to main content
15,883,887 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
i am working on a website prj (asp.net, C# language)in which i am using Master page.i have a FAQ page with Expand and Collapse effect that is attached on the questions at run time ie(when i click on question it expands showing the answer to the Question) .The issue is that when i use Faq jquery effect with Master page it adds a Master page ID ie "ContentPlaceHolder1" at run time to the div tag in which the whole effect is called,becuase this jquery effect does not work.

<br />
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">



can anybody help me Plzzz..

thankyou.
:)
Posted
Updated 17-Oct-11 23:57pm
v2

1 solution

Hi,

you've to use some extra code for that like

HTML
$("#<%=divtag.ClientID%>').html("ghgf");

or only another way is you've to mention every tag as

$("#MainContent_contdiv").html("dfgdfgdfg");

All the Best
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900