I've been using Fancybox for modal pop-ups within my jQuery stuff for a little while.
It's nice. I like it. I do find the CSS a bit unwieldy, though.
I thought I should spend some time and really look at the options and try to decide to 'standardize' on one for my own work.
Have you chosen a standard modal implementation in your jQue...
I'm trying to use jQuery autocomplete.result() to get the ID associated with the name value the user selects. Here's the script:
<script type="text/javascript">
$("#DonorName").autocomplete($('#ajaxListMatchingDonorNamesUrl').val())
.result(function (evt, data, formatted) {
$("#SelectedDonorId").val(data[1]);
...
I have a simple setup: an image and then a paragraph with a bit of info that is hidden and then slides up over the image on mouse hover. If I try to apply a border-top that is dashed or dotted onto the paragraph it simply turns into a solid line. Is this a known issue with a fix? I even tried adding the dotted border through jQuery and i...
Hello,
I have a list of divs on my site that has proper pagination(I used this pagination script here) It works fine until I added the filtering options in which you can easily filter out divs (or in this case articles) that the user wishes.
My problem I'm having is when you fiter out some articles the pagination does not update. For e...
Hi everyone,
I have been putting only jQuery mask so far, but I figured out that in Mozilla they have some problem. For example if I mask input with $(".someClass").mask("9?9"); and enter only one digit '1' Mozilla will submit value of "1_" which fails validation (is a number) but user definitely entered correct value.
Is there a mask...
I have the following HTML/JS that shows an initial value, removes it when you click in the input field, and then re-populates it with the original value if you don't enter anything.
I need to do this on multiple input fields on the same page and thus would like to turn it into a jQuery function that I could then apply to any input fiel...
Hey all,
The title on this one may be a bit misleading as it's not as simple as it sounds. I've got a page with two tables (each has 50 rows) shown side-by-side so that the rows align with one another. The problem I'm facing is that the default height for a row in each table is the same but occaisionally dynamic content in the second ...
how can you so that the text in the text field is selected when the user clicks on the text input field?
i have used this code:
$("input[type=text]").focus(function() {
$(this).select();
});
but it doesnt work in safari. and in FF it works sometimes.
...
I need to use javascript(jquery if applicable) to trigger my modal call if the result of my function is true and the referring URL is not of the domain
The desire is that the user visits the main splash page and as long as they have not been redirected there by the site itself (via timeout on session, invalid login credentials, etc) it ...
I am using jquery and am really frustrated at how I write my code. I started coding in JS and Jquery a few months ago and my code looked like this:
$(document).ready(function(){
$(function(){// a function that applies a plugin to an element});
$(function(){// another function that applies a plugin to an element});
$(function(){// and...
All,
I have the attached code snippet where a category checkbox is checked if all items underneath it are checked. How can I modify the code such that:
If any checkbox underneath any category is checked, the CSS Style of it's parent "Category" checkbox should look greyed out. (I do not want to disable the checkbox. Just look grey or a...
One of the nice things about the jQuery UI Dialog is that it has an option for Buttons, which automatically positions them correctly. I just wonder: Can I somehow place elements next to the buttons? I have a little Ajax-Loader gif that I would like to display in the lower left corner of the dialog, while the buttons stay at the lower rig...
I am using ASP.net 3.5. A call to a Webmethod using JQuery returns valid JSON data. However when I call the same webmethod to populate a html table using the datatables.net JQuery plugin, I get back the entire html of the page.
**WebMethod:**
<WebMethod()> _
Public Shared Function GetData() As String
Dim a As String =...
I'd like to execute some javascript if button 1 is pressed OR button 2 is pressed.
I'm using the notation pasted below, (The code below does not work but I've supplied it to illustrate what I am trying to do). I know I can wrap up the code to execute into another function, and then write two blocks of code (1 for each button) but I'd j...
hi
i have a page displaying a swf game within a div container
i need to add a zoom in zoom out slider to this page so user can resize the swf file using a slider
an example like this page slider :
like this page http://www.agame.com/game/Snowflake-Puzzle.html
any help please
Thanks on advance
...
Does anyone know how can I assigned onclick for a tag with jquery
Exmaple:
<a id="abc">abc</a>
I want to assign onclick="test()" in the above a tag by jquery, anyone know how to do it?
...
How to style first paragraph <p> of the content style differently without using inline css, css class , ID or javascript. ? with IE 6 compatibility too.
...
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage>" %>
Index
<script src="/Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/Scripts/jquery.validate.js"></script>
<script type="text/javascript">
input[type=text]
...
Hello,
I am developing a form that allows users to enter their credit card information to complete a transaction. I validate on the server, but want to provide smooth client validation as well. I am using ASP.NET MVC with JQuery.
What I am doing is using the JQuery blur function to execute the javascript whenever someone moves focus awa...
I am trying to create a small scroll pane to list the output of wp_list_pages() for a Wordpress sidebar. It seems the li items generated by wp_list_pages() in the scroll pane are not scrollable. Any suggestion to work around or is there any existing themes already have such function? Thanks
...