I'm stuck in a rut. I hope some one can help.
Basically, I am building an AJAX mobile web app with jQuery. I am able to parse a specific XML file just fine, but I want the option to parse other XML files based on the link they were clicked on and load them on the fly into the same DIV or UL.
So:
click on Link1, loads XML1
click on Lin...
Basicaly I have my aspx page doing
<%
Response.Clear();
Response.Write("{\"Success\": \"true\" }");
Response.End();
%>
My JQuery code is
function DoSubmit(r) {
if (r == null || r.length == 0 || formdata == null || formdata.length == 0) return;
for (i = 0; i < formdata.length; i++)
{
var fd...
Hi,
I have several jquery datepickers on my asp page and I want to set the defaultdate of date picker to be the same as the previous datepicker.
I am currently using
defaultDate: document.getElementById('<%=txtFirstDate.ClientID%>').value
This works okay, but obviously errors if firstDate is null. Should I be using OnSelect function ...
How can I get the entire colModel for a jqGrid element? I've gone through the source code a bit and also played around with some tests, but nothing seems to return the actual array.
Thanks.
...
hey guys,
i am having problems implementing my php/mysql code into a jgrowl
if you are familiar with jgrowl you will know it delivers notifications like Growl does for OS X
i am trying to get it read all the records from my table but at the moment it is only displaying one record as a notification and it loops through it 4 times
ano...
I have list items in an unordered list that when double clicked, can be edited in place via a wysiwyg editor.
$('ul.mtm_section').sortable({
disabled: true,
distance: 10,
items: '> li:not(:has(form))'
});
My goal is to prevent the list item from being sorted while it is being edited - aka once a form element has been swapped in ...
So I am learning about javascript, so I am making a live chat system with PHP and javascript. I have it so the javascript refreshes the log (each message gets logged in a file on the server), and it refreshes every second. Im using firebug to monitor the resource usage, and I see under the net tab each times its updated, and the bytes ad...
I want to display a different form for different selections of this drop down list:
<label>
<select name="type" id="type">
<option value="object" selected="selected">Object</option>
<option value="number">Number</option>
<option value="text">Text</option>
<option value="date">Date</option>
<option value="time">Time</option>
<option ...
hi!
I'm working on a project which includes generating pie and bar graph charts on the fly with user inputs.
Can anyone suggest me some good libraries to do that?
It can be any like jquery, css, php class or anything free..
And i'm going to use it mainly offline.
Thanks :)
...
Trying to get a spinner gif to appear at the beginning of an image loading, then disappear when the image is loaded. Works almost everytime, but some times it will keep on displaying and won't go. Any help? (Relevant function showed)
$.loadImage = function(imgSrc,imageList){
$("#loading-graphic").fadeIn('slow');
$.clearImage();
...
I want to create a asp.net application which can show directions in a layout from room A to room B. So layout would be a grid of rooms and if the user wants to get directions from room A to room B the application to highlight the path in blue.
I have no idea how to begin with this? What can i use to create a floor layout and then highli...
I want to add one more li at last but using JavaScript/jQuery
for example i want to add this li at last <li><a href="#header" >Back to top</a></li>
<ul id="nav">
<li><a href="#nowhere" >Lorem</a></li>
<li><a href="#nowhere" >Aliquam</a></li>
<li><a href="#nowhere" >Morbi</a></li>
<li><a href="#nowhere" >Praesent</a></li...
I'm using
http://docs.jquery.com/Plugins/Autocomplete
I'd like to add two results to the end to always appear. How would I do this?
...
I'm hiding a div using display:none and this div only shows when we click on + icon. but if JavaScript is disabled then I want to show that div by default on. How to do this?
I can't post whole code for now.
jQuery(document).ready(function() {
jQuery('a#toggle').click(function() {
jQuery('#map').slideToggle(400);
return...
Possible Duplicate:
jQuery alert plugin that produces alerts like Twitter/StackOverflow?
Question says it all.
Can someone point me to an example of how they do the alerts at the top when a new message arrives or someone posts to my answers or I just have a notification..
Thanks.
P.s. I would love a JQUERY solution, but can...
how to dynamically add and remove textbox in asp.net mvc
...
I have the following:
$(document).ready(function(){
// bind 'myForm' and provide a simple callback function
$('#form').ajaxForm(function() {
alert("Works!!!");
});
});
The problem is that when I dynamically add the form to the HTML the script is not working. If the form is the...
hello all
When i am trying to get query string value from URL using JQuery, It replace space to %20 for each 1 space.If there are 3space then my query string value contain %20 3times.
i want to replace these %20 back with space using Jquery, so that i can use these query string value.
How can i do this.
...
I'm having jQuery take some textarea content and insert it into an li.
I want it to visually retain the line breaks.
There must be a really simple way to do this...
...
How do I skip over this next line if it turns out to be null? Currently, it (sometimes) "breaks" and prevents the script from continuing.
var title = (/(.*?)<\/title>/m).exec(response)[1];
$.get(url, function(response){
var title = (/<title>(.*?)<\/title>/m).exec(response)[1];
if (title == null || title == undefined){
r...