I am new to jqueries and I have a problem calling a dialog box If ever my user has an invalid search query and did not put a starting date. See I have this jquery code
$(function(){
$("#dialog").dialog(function() {
$("#dialog").dialog()};
});
});
Now I have these codes in vb :
Sub Subsearch()
If txtfrom.Text <> "" And txtto.Text <> "" Then
//some codes
ElseIf txtfrom.Text <> "" And txtto.Text = Nothing Then
//some codes
ElseIf txtfrom.Text = Nothing And txtto.Text <> "" Then
//call my JQuery
Else
// some codes
End If
End Sub
Now how do I do this?
jquerythenjquery-uithen put this code and in this code you have one extra}.