javascript - remove class from JQuery dialog -


using div...

 $("#savedialogsinglefeature").dialog({         width: "auto",         height: "auto",         minheight: "none",         position: { my: "left"+ leftposofmessage + "% top+" + extraheadersize, at: "bottom", of: $("header") },         show: { effect: "slidedown" },         hide: true,         closeonescape: true,         buttons:[],         dialogclass: "alert",      }).parent().appendto("form:first");      //populate text of label     $('#popuplabel').text(popupmessage);      //remove titlebar     $("#savedialogsinglefeature").siblings('div.ui-dialog-titlebar').remove(); 

i can remove titlebar, remove ui-widget-content class dialog.

//neither of these work

$("#savedialogsinglefeature").siblings('ui-widget-content').remove(); $('savedialogsinglefeature').removeclass("ui-widget-content");   

any idea why

what about?

$('#savedialogsinglefeature').removeclass("ui-widget-content");  

the remove method remove entire element. think missed '#' right element id.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -