Hi, I'm just playing around with jQuery and trying something that ought be simple, but it just ain't working.
$(document).ready(function(){
$.ajax({
url : 'http://soiduplaan.tallinn.ee/',
data : {a : 'p.routes', transport_id : 'tram', t : 'xml', l : 'ee'},
error : function(xhr, stat){
alert('error');
},
success : func...
Hello.
How do I prevent download of .mov when using JQuery Media Plugin to show .mov vidoes?
...
Hello all
I have honestly tried several different avenues from google on this erro but I am hitting my head against a brick wall.
I have this bit of jquery in my code behind:
tbxProdAC.Attributes.Add("onclick", "$('radProdAC.ClientID').attr('checked', true); $('ddlBuyer.ClientID').val('--Choose Buyer--'); $('ddlSub.ClientID').val('--C...
I am trying to write a simple location lookup call with jQuery and the yahoo maps service. i.e. A user puts a location into a search box and as they are tying jQuery calls a page on my site that returns the XML from yahoo.
Geocode.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
var url= "http://local.yahooapis.com/Ma...
Hello all,
I think the answer to this question is no but I do not have anymore leads of the problem I am trying to figure out.
I initially had a single script that did some database queries via SQLCMD. I have now decided to initiate this script via AJAX and wait for the response. But I get a fatal error of:
Fatal error: Allowed memory...
Hi.
I have a issue:
while i call a inline script (wich uses jQuery too) from another page with ajax - it seems, that jQuery is no more defined (?), and I cannot use any of jQuery functions, that should be applied (according to inline script) to content.
It's basically a news list, which holds links to particular news items. I prefer us...
Hi guys,
I'm trying to use jquery to animate between two images, fading one out then fading the other in.
However, I cannot get them to act syncronously, the fadeIn() always gets called before the fadeOut() is complete:
$(function() {
var tabContainers = $('#tabwrap > div');
var listItems = $('#tabwrap ul.tabna...
//Set default values
$('#name').val('First Last');
$('#email').val('[email protected]');
$('#subject').val('Subject');
$('#message').val('Message');
//Change style when user types
$('#name,#email,#subject,#message').keypress(function() {
$(this).css({
'color':'black',
'font-style':'normal'
});
});
//Check each in...
I have created a jQuery plugin that works great with the exception of being able to call the plugin on different objects and each object retaining the options it was given. The problem is that if I call the plugin on one object, say:
$('#myDiv1').myPlugin({
option1: 'some text',
option2: true,
option3: 'another option value...
I have been trying to combine prettyPhoto and 'Simple Jquery Panorama Viewer' with little success (especially in IE!!). I have attempted to use the inline method with the panorama viewer in a hidden div, didn't work. So I tried pulling it through from a seperate page using iframes - didn't work.
I am guessing there is a conflict between...
Hi.
I have a web page, where I'm using a jQuery UI datepicker on an asp.net textbox, which is located inside an UpdatePanel. Here is a description of what I do roughly
<script type="text/javascript">
$(document).ready( function() { $(".datepicker").datepicker(); } );
</script>
<asp:UpdatePanel ... >
...
<asp:TextBox runat=...
I've appended a sortable jQuery plugin to my list of divs using 1.4.1 jQuery. The function that is called on the page load is pretty simple.
$(function()
{
$('#divEditFieldOrderModal_FieldList').sortable(
{
axis: 'y',
cursor: 'pointer',
placeholder: 'sortOrderPlaceholder'
});
});
This divEditFieldOrderModal_FieldList contain...
Here is a solution I came up with for an editable grid that can be made editable with single button click outside the grid. There is also a cancel edit button and submit changes button. The table schema and data is dynamic, the table name we are binding to is dataTable and the column names are stored in MyMappedColumns List.
<input typ...
I'm trying to create an ajax form with jQuery. I'd like to load existing values into the different form fields (text boxes, dropdown menus). Would I use JSON for this? And how would I load the values? Iterate through the JSON and for each entry load the corresponding value? How would this be done?
Thanks in advance.
...
I used Firefug to profile my web application and found that the following function is called, and needs to be called, literally hundreds of times per user visit. So I want to optimize it since Firebug says it uses the most resources/times.
function highlightChildDiv(parentDiv) {
/* find the closest (hlisting) home listing to the m...
How do you reset the values of various types of form elements that are in a div when you use jQuery show/hide?
...
I have a page that allows users to edit a record from the DB. Simple.
The html source looks like this:
<form id="prize_modify_form" enctype="multipart/form-data" action="" method="POST" accept-charset="utf-8">
<p><label for="header">Header</label><input type="text" name="header" value="More Tvs!" id="header"></p>
<p><label for...
Hi, I'm making a dropdown menu with jquery (some of the code is borrowed from a tutorial by someone, although I forget who...). When I use the dropdown, it slides up and down really fast, and I can't figure it out. What do you think?
HTML
<div id="nav">
<ul class="topnav">
<li><a class="selected" href="#" title="home">home</a></l...
Hi, I'm trying to use the jQuery dialog as a loading screen for ajax. I have it working very well so far but I'd like the loading screen to be not closable. However it seems the UI dialog doesn't have "closable" as an option?
How do you make it non-closable? I tried setting closeText to blank but that didn't do anything. The little 'X' ...
IE g gives me the following error:
Line: 79
Char: 4
Error: Unexpected identifier, string or number
Code: 0
The website is test.hatc.org.
I am using a template that features fading images, opacity and sliding menus. I saw an error pertaining to jquery.min.js in a browser running IE8 with compatibility mode on, so I think it has somethi...