i have code in form
- no submit any thing:
<div class="screen-reader-response"></div> - submit :
<div class="screen-reader-response" role="alert">My Content alert<div>
i'm user code :
$( ".screen-reader-response" ).dialog();
problems : when i'm don't submit any thing is: echo dialog with no content
how to setup:
if: no submit any thing: <div class="screen-reader-response"></div> no echo alert
if: have submit: <div class="screen-reader-response" role="alert">My Content alert<div> echo alert My Content alert
give me any idea?
visit my site: http://www.graylinecruisehalong.net/ always dialog content when don't submit?