I'm new to JQuery,
but as a follow on from my previous question regarding duplicated entries to the database, on a forum type application, the question is:
Is JQuery a good solution to show to the user, transaction progress, state of submit etc
And what is the best solution, if using JQuery
Else what other solution is right.
With a vie...
I have a simple jQuery selector that selects all links without a class of noValidate. It works great if I only have 1 class on an item however if I add a second class it will no longer find the class. How can I easily check if the class contains noValidate instead of is equal to it.
Current Selector
$("a[class!=noValidate]").click(func...
The javascript jQuery code below works, except I would like to add 2 features to the button's state.
When a user clicks one of the buttons, the other button that was not clicked gets a new class (look).
Both button's state should change to unclickable.
[div id="1" class="__button_image"] [/div]
[div id="2" class="__button_image"] [...
Hello, I'm wondering if the following can be done.
I have a list of 'expenses' that I'm displaying in a table. 4 columns - amount, date, where, and what.
I was thinking I'd like to make each clickable via jQuery which would expand that particular expense, inline, to show a more detailed description.
What I'm trying to do is, on click...
I am doing some server side html processing in Haskell. Wondering if there is an equivalent of jquery type selector engine implemetation for haskell out there that i could use.
Google doesnt yield anything.
...
I know the article but it is not exactly what I want.
How can you make an image previewer similar as at the website?
...
I have inherited a web application where the usual ability to press return in any of the input fields has been disabled for the very good reason that the page contains multiple forms, and the application would not be able to determine (or, so I am told) which form to action. The application has been designed so there are no submit button...
Need some advice on creating a floating menu that behaves very similar to what is used on the apple website shopping cart. I've seen some scripts that do something like this (and we've tried one) but they tend to "lag" behind the movement while apple's version gives the appearance of being stationary. A jQuery solution would be preferabl...
I'm in the process of making a demo ASP.NET MVC app for educational purposes.
I have an image/link that flags a post as offensive. I would like to request from the server via AJAX to flag offensive and check to make sure that the user has this ability.
If the user does, then I want to flag the post as offensive in the database and r...
Hi i am trying to add thick box to a overlay in googlemaps. On my JQuery onload function i call the following function. The map works fine. But when the thick box doesn't seem to be called. This is the line that does work
<a href="test.html?keepThis=true&TB_iframe=true&height=250&width=400" title="add a caption to title attribute / or l...
Hi folks,
i want to have three different 'tabs'. and when a user clicks on the tab, it hides the other two and show the one clicked.
I'm using ASP.NET + jQuery.1.3.2.min
eg.
[ Tab 1] [ Tab 2 ] [ Tab 3 ]
---------------------------------
... Table data displayed here ...
I was told to use jQuery. I'm not sure about
The html to...
I'm working on a image viewer that has a draggable scrollbar. When the user drags the scrollbar, some of the text on the webpage becomes selected. I've tried
window.getSelection().removeAllRanges();
but that doesn't seem to work in IE7/8. Also tried the
document.getSelection().removeAllRanges();
which seems to work just as "well" w...
I've got some three html tables which i wanted to put into tabs, thanks to this previous question.
All three tables can be ajax'd but i want to show the first table and ALSO allow the first table to be ajaxable.
Lastly, i need to have the option for the user to SEARCH in the 3rd tab and those results (html result) goes into that tab.
...
This is my code for a draggable connected to a sortable. The thing is, I am creating an LI with a bunch of attributes. BUT when I drag an item to the droppable div, the sortable creates a new li tag and wraps my created li with it.
It looks something like this:
<ul>
<li class="ui-draggable" style="display: list-item;">
<li class="X...
Hi everyone!!
I have a div element that when I click on it on IE, it shows me a clue tip. But, when I click in Firefox (or Chrome), this tip doesn't shów at all.
I have firebug installed but I dont't have good experience on using it.
With firebug, can I know why this tip isn't showing?? How can I do that?
Thanks!!
...
I am trying to understand why you would use jQuery.get() and jQuery.get(index). The docs say it is to convert the jQuery selection to the raw DOM object instead of working with the selection as a jQuery object and the methods available to it.
So a quick example:
$("div").get(0).innerHTML;
is the same as:
$("div").html();
Obviousl...
Hi, I have a feature where a user can click a video thumbnail and my php script will go grab the video.
I have a div which is display: none; containing the flash video player code and its background image is the animated gif (a loading spinner) in the css. I use the jquery show method to make it appear when the user clicks it.
But whe...
I need to prompt a user to save their work when they leave a page. I've tried onbeforeunload but I need to show a styled prompt not the usual dialog box. Facebook has managed to achieve this (if you have a Facebook account, edit your profile info and go to another page without saving and you get a styled prompt). I've also tried jquery u...
I have an unordered list with mouseover and mouseout events attached to the li elements. Each contains a link and there is a bit of padding in the li. When I mouseover the li the mouseover event is fired, but when I mouseover the link contained in the li the mouseout and the mouseover events are both fired in order. It seems the child el...
I'm trying to use jQuery.scrollTo plugin with accordion (where one block expands after clicking on it and another contracts), but it doesn't scroll to the right position.
Here is a demo: pelmeshkin.com/temp/scrolltoaccoridon
As you can see, the first click scrolls correctly, but every next one goes further than it should.
It seems to...