Hi guys,
First of all apologise for creating my third Javascript question in as many days - I'm really trying to push myself in this field on this project, and feel my skills are developing at a fairly good rate thanks to my research and your fantastic help on here, particularly redsuqare!!
I've got a table where people can enter times...
I can't find an example of jqGrid being used to "paint" an existing clean HTML table. Is this possible? I am currently using datatables http://www.datatables.net/ because it is easy to implement on existing HTML but would prefer jqGrid's theme support and hooks.
...
Hi Folks,
iam trying to setup an little search-engine for my website. I want to add an div for each search result. In the moment i do the following :
success: function(data) {
if (data[0] == 'nothing') {
result = $('#search-result');
result.append('<h3>' + LANG.nothing + '</h3>');
...
I've been looking around for a decent jQuery plugin that can handle both dates and times. The core UI DatePicker is great, but unfortunately I need to be able to take time in as well.
I've found a few hacks for the DatePicker to work with times, but they all seem pretty inelegant and google isn't turning up anything nice.
Do any of yo...
I'm trying to get the text within the clicked linked by using this
$(".ajax-append").click(function(event) {
$.get("includes/fight.php?name=test", function(html) {
console.log($(this).text());
console.log($(this));
// append the "ajax'd" data to the table body
$("table tbody").append(html);
...
Here is the jQuery slideToggle function:
$('.class').click(function() {
$(this).parent().next().slideToggle('slow', function() {
// how can I access $('.class') that was clicked on
// $(this) returns the $(this).parent().next() which is the element
// that is currently being toggled/slided
});
});
In th...
Hi,
I'm trying to follow this tutorial - http://www.dotnetcurry.com/ShowArticle.aspx?ID=231&AspxAutoDetectCookieSupport=1
I have both the vsdoc file and the main jQuery script files in the same folder, and when I include the jquery file, I get no intellisense when I start typing $(, but I do get intellisense when I include the jque...
I’m currently responsible for rolling out the use of jQuery to the community of Web Developers within our company. Part of this involves presenting a course, however another part involves communicating standards and best practice.
If you Google 'jQuery best practice', you’ll probably find the following among the search results.
http://w...
Hi,
I have a ajax javascript method that pulls data from a page etc.
I want this process to run on a timed interval, say every minute.
But I don't want it to loop forever, so max out at 3 times.
What is the best way to implement this?
...
I'm using jQuery UI tabs for simple tab navigation on a page, and this works great; however, I want to call a function like
function DoStuff(){
$("#divID").hide();
}
from within a tab. When I click on the <a href...> which calls the DoStuff() function, I see the div being hidden, but then the current tab which I am in is close...
I am trying to find if an image has in its source name "noPic" which can be in upper or lower case.
var noPic = largeSrc.indexOf("nopic");
should i write
var noPic = largeSrc.toLowerCase().indexOf("nopic");
It doesn't work
...
Horribly worded question, I know...
I'm attempting to load a page into a div inside an asp:listview. The page loads fine on the first attempt, but subsequent loads do not seem to run the jquery.ui.js file to tabify the loaded page.
I moved the call to tab the loaded page into the callback function of the .load() function, but that has...
I am using ASP.MVC 1 to return an IEnumerable of objects (say, Cars):
public class Car : Entity<Car>
{
public virtual string Make { get; set; }
public virtual double Length { get; set; }
public virtual string Colour { get; set; }
}
like this:
[AcceptVerbs(HttpVerbs.Post)]
public JsonResult GetRoutes()
{
IEnumerable<Ca...
When should the load( url, data, callback ) method be used versus jQuery.get( url, data, callback, type ) when making AJAX calls with jQuery?
...
I am branding several sites I recently created with an image that reacts to hovering and links back to my own site. I'm dynamically inserting the markup and CSS with a jQuery append function that absolutely positions my logo in the bottom righthand corner of the client's site, and it's working great for the most part. However, I need to ...
Hey guys,
One of my pages is becoming overcrowded with html forms and js. So I was wondering if there is a way to have the form on one page and then the js on another. If you could refer me to a good site that addresses this I would really appreciate it.
Thanks
...
I have been able to work the Date Picker into JQGrid when editing inline, but I am unable to use it inside the add/edit window. Does anyone have instructions on how to do this or an example I can look at?
demo from that site of what I am trying to do: http://www.the-di-lab.com/demo/apples
I read that I could use the following method bu...
Let's say I want to handle all links on a page, via a special function, so I do:
$('a').bind("click", handleLinks);
But I have a navbar with links that I want to handle differently. So I want to do this, which does not work:
$('#navbar a').unbind("click", handleLinks);
I do not want to specifically exclude the navbar in the first s...
Hi guys, I have a website that has jQuery and SWFObject running on it. When the page loads, it sets a 2 second timeout then triggers an SWFObject instance to load a movie. When the movie finishes it's player callsback to JS to trigger another movie. The other movie loads fine and plays. When it's done playing, the second movie is also su...
Hello,
I have a grid view with multiple check box columns and I was wondering if anyone could show me how to select all check boxes in a unique column. I don't want to select a check box in the header and have it select all the check boxes in the grid view. I'm new to jQuery, literally at the beginners stage and was hoping to be able t...