I've got this DOM:
<li>
<img class="ui-selectee" src="../img/thumbs/80x80_1280_wallpaper.jpg" style=""/>
<input type="hidden" value="3"/>
<a class="btnImgDel" title="Eliminar" href="javascript:void(0)">Eliminar</a>
<a class="btnImgRen" title="Renombrar" href="javascript:void(0)">Renombrar</a>
<a class="btnImgZoom" ti...
Hi! I'm trying to display contextual help alongside form fields, that is only visible when those fields are in focus or hovered over. I've tried using mere CSS, but the results seem very fragile and inconsistent.
Here is my CSS:
form .instruct {
position: absolute;
right: -220px;
top: 10px;
visibility: hidden;
width: 200px;
z-ind...
I am designing a webpage and I am using jQuery.
The webpage makes use of AJAX. IE6 and lower versions do not show the page correctly. Even the AJAX code doesn't seem to work.
Code:
jQuery(document).ready(function($) {
// hide all sub heading lists
$("#content1").load("sub/image1.html");
$("li[@id^='cont']").click(function(...
I have a PDF component that goes and fetches a page to use as the content for the PDF. In that page Jquery does some showing and hiding of sections according to certain criteria.
I know this probably isn't possible but can I get the ready event to fire from the background page load?
Edit: the javascript is in the page that is being ac...
I have a list of menu items which can be sorted. I have the sort working which is based on this link.
However, I'm not sure how to save the order of the menu items to the database? I'm using nhibernate.
View Code
<h3>Sort Main Menus</h3>
<% using(Html.BeginForm()) { %>
<p>You can drag the items into a different order</p>
<p></...
How to query child containers, and not inside containers (thats not about attributes)
<div class="container">
<div>
<div class="container" child>
<div>
<div class="container" inside>
<div>
<div class="container" child>
<div>
<div class="container" inside>
</div>
Edit:...
I have a product selection page where you choose a phone and a plan using radio buttons and I need jQuery to display the "current selection". For example I have 2 phones with two plans:
Nokia N95 and Nokia N96, $35/month and $50/month
Each of these 'options' has it's own radio button. When N95 and the $50/month plan are selected I need...
Hi Guys
Just wondering if anyone knows of a way that wiring up jquery to run a function for when a user clicks on a link or tabs to a link and hits enter.
I want to intercept that activation of a link and perform an action before the page is changed, but I want to do it in either case.
Cheers
Anthony
...
Hi everyone!!
I have 2 <fieldset> on my page, but one of them should have all of it inside elements disabled depending on some user's choice.
I have inside it input texts, selects and links. Is there a way to disable all of them instead of disable one by one?
Thanks!!
...
I was just wondering if there are any methods of creating nice, smooth transition effects when navigating between pages? Things like blind effects, sliding effects, etc. I guess I'm looking for something like what jQuery can do with images - but for actual web pages. I know there are fade effects and all that, but I was just wondering if...
I get this specific error when working with jquery ui datepicker and have also had the same error when using toggle("slow")
ERROR
jQuery.speed is not a function
Anyone any ideas why this may occur
FF3 / Firebug
Thanks
Shaun
...
I am using the JQuery plugin jVal. This plugin validates user input. If the user makes an error the input box is turned red and a fly out message says what is wrong. This works great for forms where there is one Label and one input per visual row. This falls apart when you have multiple labels and inputs per row. IE the fly ou...
I'm trying to use a radio button as a click function:
$("input[type=radio]").click(function(){
and I don't just want radio buttons, I want radio buttons with the class 'baby', or I could even do it by name if that's easier, searched google and I can't find anything :(
...
Hello all,
I'm working on a script to load some images async using jQuery.
Here is a code snippet of the function that loads the images -
try{
for(img in imgsArray){
$.ajax({
async: false,
type: "get",
url:imgsArray[img],
success:function(imgFile){
alert("success");
//do something useful
},
error:function(XMLHttp...
How can I call a function from an object in javascript, like for example in jquery you call myDiv.html() to get the html of that div.
So what I want is this to work :
function bar(){
return this.html();
}
alert($('#foo').bar());
this is a simplified example, so please don't say : just do $('#foo').html() :)
...
Hello:
I need to dynamically edit and change the server data.
http://pssnet.com/~devone/ajqtable/editgrid2.html
Right now, when the fields get edited php posts names instead of
values to the db. My assumption is that on submit, the editurl will be called upon with
the changed data. I read in the docs that I may have to add an onSubmit...
We have a MOSS 2007 installation where we rely on jQuery to handle automatic rotation of tabs in webparts, animation of sliding menus and tool panels. Intermittently we get the "Operation Aborted" error with our IE 6 users.
While we confirmed that this results from manipulating the DOM before it has been completely loaded on the clie...
function slideSwitch() {
var $active = $('#slideshow DIV.active');
if ( $active.length == 0 ) $active = $('#slideshow DIV:last');
// use this to pull the divs in the order they appear in the markup
var $next = $active.next().length ? $active.next()
: $('#slideshow DIV:first');
// uncomment below to pull the divs randomly
// var $...
Trying to select anchor tags that are a descendants of a div with a particular id, say it is #mydiv1, #mydiv2 and #mydiv3.
myFunction = function() {
var theDivs = $("#mydiv1, #mydiv2, #mydiv3");
theDivs.hover(function(e){
$(this+" a:link").css("color","#99ccff");
},function(e){
$(this+" a:link").css("color"...
Hi all,
I currently have 4 textboxes which will be used to store an ip address.
What i need help with is a function that will allow a user to input a "." and have the textbox change focus from the current textbox to the next textbox.
Thanks in advance
...