I want to display a jQuery UI tabs inside a Dialog but it shows up Directory Listing of my asp.net app for no reason. It also changes the css of my page. What's going on here?
Javascript:
$("#editAddress").click(function () {
var personId = window.location.search.slice(1).split('=')[1];
//Use Get API to fill the form:
$.getJSON('/ipad/api/Address/' + personId, function (data) {
var tabs = $('#tabs');
$("#dialogAddress").empty().append(tabs);
$("#dialogAddress").dialog("open");
tabs.show();
tabs.tabs();
});
});
HTML:
<div id="tabs" style="display:none">
<ul>
<li><a target='_blank' href="#tabs-1">Tab 1</a></li>
</ul>
<div id="tabs-1">
<fieldset>
<label for="address1">
Address1:</label>
<input type="text" name="address1" id="address1" value="" />
<label for="city">
City:</label>
<input type="text" name="city" id="city" value="" />
<label for="country">
Country:</label>
<input type="text" name="country" id="country" value="" />
</fieldset>
</div>
</div>
I am trying to get some event listeners to work, but for some reason they are not working properly. The two event blocks below work fine on their own, but together only the removes block works. If I ...
I am trying to get some event listeners to work, but for some reason they are not working properly. The two event blocks below work fine on their own, but together only the removes block works. If I ...
I have a situation which is best described using the following code: Meteor.publish('users', function (name) { return Users.find({name: name}); }); Meteor.publish('posts', function (userId) { ...
I have a situation which is best described using the following code: Meteor.publish('users', function (name) { return Users.find({name: name}); }); Meteor.publish('posts', function (userId) { ...
I am trying to access a specific class name and click on it within another class. How would I go by doing this? For example, var keyword = "blah"; //Add elements with this specific class name to ...
I am trying to access a specific class name and click on it within another class. How would I go by doing this? For example, var keyword = "blah"; //Add elements with this specific class name to ...
I have a script that i used in my php page this is the script : <script> $(document).ready(function() { $.ajax({ url:"http://www.exemple.com/jsonp?j=123", ...
I have a script that i used in my php page this is the script : <script> $(document).ready(function() { $.ajax({ url:"http://www.exemple.com/jsonp?j=123", ...