javascript - Finding a div in my SharePoint 2010 Web Part -


i have web part dynamically inserts div tags written in vs2010 using c#. want implement mouseover events these div's. when web part deployed onto sp2010, javascript not able find these div's when search them control id have specified.

when checked page source, found tags ct100_m_g_ prefixed control id have specified.

how can guess these ids?

the ctlxxx stuff automatically prepended control's id asp.net, generate client id.

if want set deterministic client id, can set clientid property instead of id property. see http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientid.aspx


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -