jquery - J-query-Styles disappear on ListItems of checkboxlist when autopostback is set to true -


i using jquery style checkboxlist, problem is, jquery styles check box list , when listitem pressed , style lost, guess due autopostback=true, cant disable coz want call postback populate datalist depending on selected checked item, there alternative or suggestions .

i using http://www.no-margin-for-errors.com/projects/prettycheckboxes/ style checkboxlist

sounds me you're styling page in $(document).ready(...); problem executes once when page loads initially. if loaded asynchronously, lose dynamic style. have @ least 2 options:

  1. factor out code styles checkboxes. hook event gets raised when auto-postback done.
  2. apply styles statically checkboxes using css. jquery styles nothing add css classes. can same thing in html, inspect elements in web development tool , find out how they're styled.

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -