Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Zoho Docs
Google Docs
Each Attachment size should not exceed 1MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
thivu
Jquery dialog box with accordions and form elements in it.
in
Using jQuery UI
•
4 months ago
Hi,
Can you please help with Jquery dialog box with accordions. Each accordions has form elements. Dialog box will have submit button to submit all form elements value. Appreciate if someone can give a demo code for this.
1
Reply
Replies(2)
kbwood.au
Re: Jquery dialog box with accordions and form elements in it.
4 months ago
Something like this:
$(function() {
$('#accordion').accordion();
$('#dialog').dialog({buttons: {
Submit: function() {
$('#myform').submit();
$(this).dialog('close');
},
Cancel: function() {
$(this).dialog('close');
}
}});
});
<div id="dialog" title="My Dialog">
<form id="myform" action="http://www.example.com">
<div id="accordion">
<h2>Name</h2>
<div><input type="text" name="name"></div>
<h2>Address</h2>
<div><input type="text" name="addr1"><br><input type="text" name="addr2"></div>
<h2>Comment</h2>
<div><textarea name="comment" rows="5" cols="40"></textarea></div>
</div>
</form>
</div>
Leave a comment on kbwood.au's reply
thivu
Re: Jquery dialog box with accordions and form elements in it.
4 months ago
Thanks it works!!
Leave a comment on thivu's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to thivu's question
Top
Reply
{"z2953500":[14737000003889393],"z23903981":[14737000003890534,14737000003891249]}
Statistics
2
Replies
265
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
dialog close event
UI Selectable - allow select multip...
JqueryUI Autocomplete Combobox with...
Smooth animations as revert is set ...
fading effect in ui dialogs