I think it's a simple task, but...
Hi people!
I'm a new apprentice in programing and have a lot of questions... but first is first. ;)
Here's a piece of my code:
- $('#dialog1').dialog({
- autoOpen: true,
- height: 280,
- width:600,
- modal: true,
- buttons: {
- 'Soy médico': function() {
- $(this).dialog('close');
- return true;// Submit Rating
- },
- 'No soy médico': function() {
- $(this).dialog('close');
- }
- }
- });
It's a simple modal dialog selector. The problem is that I don't know how to make a button close the modal and go to another html page. I hope my poor english don't make a mess with this question. Thanks and good look.
Laura.
P.S. I tried to write a .load:
- 'No soy médico': function() {
- $(this).load('index.html');
But it was a total disaster (index load into the modal box with no kind of style)
Well... sorry and thanks again for your time.
Laura. Again.