Well i started by creating a new asp.net webapplication in VS2010
It created a solution that included jquery 1.4.1
After that i created an file named ajax.aspx and added the following in the code behind file:
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json)> _
Public Shared Function GetDate() As String
Return Date...
Hi All,
I'm using Keith Wood jQuery Calendars Datepicker (not his jQuery Datepicker). In one page, I have many calendar datepicker input (using css as selectors). How to disabled one of them?
// js
$('.calendar-input').calendarsPicker({
dateFormat: 'mm/dd/yyyy',
autoSize: true,
showTrigger: '<img src="calendar.gif">',
});
...
I have been using jQuery address plugin and it passes an event.value which might result in /messages/inbox/. I want to be able to turn that into Messages Inbox.
I am not sure which regex to use and how to do this. Currently I have this, but this is just way too messy for me.
var href = event.value != '/' ? event.value : '/wall/';
var ...
Hi, I am using google map for showing driving directions between 2 places. The code is like this:
var directionDisplay;
var directionsService = new google.maps.DirectionsService();
var map;
$(document).ready(function(){
directionsDisplay = new google.maps.DirectionsRenderer();
var chicago = new google.maps.LatLng(34.044756,-118.546677...
In HTML I have more than one text areas with text and when the user clicks on the text area the global variable will be updated with cursor ID.After that If the user click on any one of the link depending upon the link I get the text from database using Jquery ajax and place that text depending upon the global variable.
What I need in...
I have a image gallery, my requirement is to apply diffrent image sizes to all image
my html markup is
<div class="post-attacthe-img">
<ul>
<li><a><img src="1.png"/></a></li>
<li><a><img src="2.png"/></a></li>
<li><a><img src="3.png"/></a></li>
<li><a><img src="4.png"/></a></li>
<li><a><img src="5.png"/></a></li>
<li><a><img src="6.pn...
Hi All,
Using JQuery, is there a more efficient way of writing this code? See below
The JQuery:
$("#ex1").live("click", function(){
if($("#ex1").attr("checked")==true){
$(this).parent().removeClass("im-unchecked").addClass("im-checked");
}
else if($("#ex1").attr("checked")==false){
$(this).parent().removeClass("im-checked")...
Hello All,
i need urgent help, actually i m stuck between jQuery plugins in JOOMLA, i m using two plugins together and now don't understand how to use it... follwing two plugin i m using
jQuery Validator plugin
jQuery UI tab plugin
now what i do.. i have 3 forms that i have attatched with UI tabs. all 3 forms on 3 tabs displayi...
hi
i am using jquery.jcarousel.js,
and
iam coming across the error- jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...
please guide me how i can fix it
...
I have a customized version of scrollable script from jQuery Tools here: http://www.ghostpool.com/dev/1/wp-content/themes/intelligible/js/unpack/tools.scrollable.js
I'm trying to integrate their auto scroll plugin into this but cannot get it to work. It must be missing something from the original scrollable script here: ghostpool.com/de...
Hi, I'm having an issue in the success callback of my ajax function. On success of the ajax function I want to call a javascript function that is defined in an external file that is included in the header. However the javascript function never gets called. Is there something I am doing wrong here?
My JQuery looks like this:
$(document)...
Hi,
I'm using the 'timepickr' jQuery function, the problem is it works ok in the main webpage, however when I invoke it through an AJAX call, the funcionality is non-existant. The input box is displayed fine, but the mouseover funcionality isn't there. Code I'm using as follows....
This is the page that contains the "div2" div: Note...
how can i change focus into particular div after any event via jquery?
...
i want to pass this paramater topic to another page,
p.s. the page is loaded using jquery?
the url:
http://localhost/final/home.php#page2?topic=jquery
now, i want to echo the the topic on #page2
<h3 class="timeline"><?php echo $_GET["topic"]; ?> </h3>
but it deosnt echo, any solutions, sorry for the newbiw questions :))
load_pag...
I used a jquery file to upload files ie ajaxuploader without any flash..
it loads a iframe on loading the jquery but its not working in IE 6, but it works fine in IE 7
the onload funciton is not working in IE 6,,
i have used a ajaxuploader.js file to do this operation,,, pls help
var name = 'iframe_au' + get_uid();
// create iframe...
I'm using jQuery focus() and blur() to highlight image links during keyboard navigation (tabbing) but need to be able to run some code when a link is followed via 'Enter' on the keyboard.
Is there a built in event which does this or do I need do something like bind keypress and check for the 'Enter' key?
...
I am using a jquery datepicker and timepicker. In datepicker I want to disable the all dates which are past to the current date. And in timepicker I want to show the times which is one hour prior to the current time.Can anyone tell me how to do this?
...
hi ,
i have to create upload center site like speedyshare.com with zend but i don't have any idea how to create progress bar to show upload progress .
any idea or a tutorial to doing this ?
...
I have a somewhat strange problem. I have two maps on my site, a big one and a small one. I want to use the big one to show a route to a certain address. I'm now trying to implement the two maps but get a weird problem. The small map is working fine, but on the big map only a small area of the div is filled with the map, the rest is empt...
hii i am using ajax file upload in this code
<script type="text/javascript" src="fileuploader.js"></script>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<div id="photo_upload">
<div id="file-uploader_photo">
<noscript>
<p>Please enable JavaScript to use file uploader.</p>
...