jquery

How can I implement an "interesting tags" feature like that on Stack Overflow?

Check my other question with bounty: http://stackoverflow.com/questions/3436287/finding-similar-number-patterns-in-table I'm trying to implement an Interesting Tags feature. For reference, this is how it works on SO: I add into the "interesting" list my interested tags (like php, mysql, jquery and so on). Then, if any of the display...

Jquery Galleryview

I am working on a site that requires a jquery Galleryview now I have everything set up but my images are not showing. here is my header code: <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="/js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="/js/jquery.timer...

How can I hide an id from its contents in Javascript/jQuery ?

I have a bunch of this videos on this website with this source: <li id="vidLink-1498229769" class="videoContainer vidLink"> <a href="/p/watch/1498229769:GM1ryG4eoTA6sMZV9wtDEpocuehpzDni"> <span class="content-video-thumb-hover"></span> <img src="http://lockerz.vo.llnwd.net/o35/Lockerz/14/593/MEVIO-EmoGirlTV-SavesTheD...

jQuery + form + textinput > Is it possible to display one value in a textinput and submit another?

I'm working on an application where dates are passed as yyyy-mm-dd but displayed to the client as mm-dd-yyyy (US based client). I'm using a jQuery datepicker for selecting from/to dates in a report and would like to show the dates to the client as mm-dd-yyyy but when the form is submitted, submit as yyyy-mm-dd. Is it possible to displa...

getJSON not working for large data

In one of my website i am using $.getJSON(url, function (data) this is not working if the response data is more that 1000. Any alternate is there? ...

How change the videos max of page with jQuery ?

I have one website here that contains videos to see, like youtube, and the videos are divided in pages, and in the source of this page I got this part of the source: <input type="hidden" value="12" id="vid_count"> <input type="hidden" value="422" id="vid_max"> <input type="hidden" value="12" id="vids_per_page"> The site contains 422 v...

Call function from hyperlink defined in qTip content

Hi, I am trying to call a javascript function from a hyperlink that is part of the content in a qTip. I keep getting the error my function is not defined but it is defined within the page and can be called outside of qTip. Below is what I have so far: function addCalendarToolTip(objTarget, objEvent) { $(objTarget).qtip({ ...

How to encorporate encyption to FlexPaper

Is it possible to configure the FlexPaper reader to un-encrypt password-protected pdfs or swfs? Here is the use-case: User uploads a pdf My server would then convert the pdf to swf via pdf2swf Then somehow encrypt the swf with a password (not sure best way to do this) Then the FlexPaper would be able to un-encrypt the swf and display ...

jquery plugin loading empty sometimes

I am running this coda-slider script from http://www.ndoherty.biz/ Not Everytime, but quite often on the first load the coda slider box will be empty and the slider wont work, most of the time my image will be there and the slider will run since I have it set on auto. I am not quite sure why this happens. I seem to have had this happen ...

Query String checks checkbox on different page

Hello I'm having a problem, I have a button on page1 that when clicked passes this url: http://www.example.com/page1.html?jquery=blogger once it's clicked will go to page2 where there are checkboxes. I need the checkbox associated with "blogger" (named: cf_538) to be checked once the page loads. <script type="text/javascript"> <!-- ...

Javascript / jQuery $.get(url) Title Parsing not Working

Even though the following works: http://jsfiddle.net/N7D5r/ My attempt at using the same code does not correctly get the titles. They return null, for whatever strange reason: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/...

How to check browser for touchstart support using JS/jQuery?

In an attempt to follow best practices, we're trying to use the proper JavaScript/jQuery events according to what device you are using. For example, we're building a mobile site that has an tag that will have an onclick or touch event. In the case of an iPhone, we'd like to use the "touchstart" event. We'd like to test if their device s...

Jquery on hover does not stay

Hello, I am trying to create a drop down list i have it working but not fully, using this code $(document).ready(function(){ $("#zone-bar li em").hover(function() { var hidden = $(this).parents("li").children("ul").is(":hidden"); $("#zone-bar>ul>li>ul").hide() $("#zone-bar>ul>li>a").removeClass(); if (hidden) { $(this) .p...

A question about John Resig's Simple Javascript Inheritance.

I'm using this simple code: http://ejohn.org/blog/simple-javascript-inheritance/ Using this "library", I made this simple class: var Person = Class.extend({ init: function(openningSentence) { this.say(openningSentence); }, say: function(words) { alert(words); } }); The problem with this class, is that I can't call a f...

jQuery Syntax Error - Trying to detect viewport size and select background image to use w/CSS

Hi all. Please be gentle, I'm still learning. I imagine that the solution to my problem is simple and that perhaps I have just been in front of the computer too long. I am trying to detect the size of the viewport, and then use a different sized image for a background on an element depending on the size of the viewport. Here is what I ...

Alternative to jQuery .data()?

I'm a big fan of jQuery's .data() method, but I can't always use it. Often times I am rendering html templates that I pass via AJAX and I need to attach metadata to each of the elements in the template. For example: <ul> {% for item in itemlist %} <li metadata="{{ item.metadata }}">{{ item.name }}</li> {% endfor %} </ul> I know at...

How to build a custom tab navigation in jquery?

I am trying to build a navigation/menu system in which users can create custom tabs similar to yahoo mail. To be more descriptive, a user would have a fixed set of tabs when on the menu and then add tabs to the menu and navigate freely within tabs keeping context. I would prefer to do this in jquery but am open to other frameworks as we...

update Visual Studio jquery release

Now that Visual Studio 2010 has jQuery support, I'm wondering how I can update the release version? When you currently create a project, it automatically creates the 1.4.1 files, but there is now the 1.4.2 release on the jQuery.com website. How can I tell VS2010 to use the more recent version of jQuery? ...

JQuery AutoComplete with JEditable

Hi, I am trying to attach AutoComplete of JQuery with JEditable. Got the following eg on search. But it also does not seem to work. http://www.pastie.org/978610 I want to attach AutoComplete to <td> of DataTable(Allan Jardine). Does anybody have any code snippet for the same? Pl help.. Thanks, Bhoomi. ...

jquery thickbox height problem

My thickbox renders correctly in my dev environment, but in prod, the default height kicks in even though I'm supplying width and height params. TB_WIDTH = (params['width']*1) + 30 || 630; //defaults to 630 if no paramaters were added to URL TB_HEIGHT = (params['height']*1) + 40 || 440; //defaults to 440 if no paramate...