I have a form having all kind of tags (check box, dropdown etc) in my HTML page, on click of a button I want to show the same form as a normal text on the popup. For popup, I am using jQuery dialog.
using following code, I am able to show the same form on the popup. but it is coming as a form with editable fields.
var dialogHtml = jQuery('#requestForm').html();
jQuery(dialogHtml).dialog();
is it possible to change the same form in non-editable text format on the popup. I don't want to write the same code for the popup.
Actually, requirement is like that, I have a form which needs to be filled and on submitting of that form, I need to display order number along with that form's data. OrderNumber + some other HTML data I am getting dynamically.