Hello,
I need a little help here if possible, because I can,t find the source attr of an image with the selector
I have already used $(this).children('someclass')just before
and the one I am trying to locate is in the same tablecell next too the other div
So, it makes no sense to me
$(".reg_info_body").hide();
$(".reg_info").toggle(f...
I'm having a little problem with this setup here I have a list of .ascx files and they all do different tasks in terms of calculations to the controller itself. So on my .aspx page I click on an Ajax.ActionLink() and this will render that specific .ascx file based on the item I clicked. Within that .ascx are 1-3 events that will fire 2 o...
Hi,
I have a page with two input fields City and Venue. I have the autocomplete plugin from Devbridge working great for the city field. I now want to get it working on the venue field. The javascript I have so far is:
<script type="text/javascript">
$(document).ready(function() {
$('#Event_City').autocomplete({
...
I'm having trouble rebinding slimbox2 after ajax content is loaded. I realize I need to rebind the function on the ajax load but I have no idea how to do that. I'm using this code to generate the external content.
$(document).ready(function() {
$('.content_box').hide();
$('.sf-menuUP a').click(function(){
$('.content_box').fadeIn('slow...
This is the last part of this project, thanks to all who've helped with syntax correction on other parts. I'm using the tablesorter plugin for jQuery. Basically, what I want to accomplish is for my custom sort function to pick a table header based on whether or not it has a class, namely "SortableHeader". It then has to decide what me...
How can I freeze Javascript in firebug so that i can inspect the changes made by it in the html? If for example i have a jQuery rollover effect and i want to inspect the html code in that point in time.
I believe Dreamweaver CS4 has this feature titled freeze javascript and live code. Is there a free equivalent either in Firebug or anot...
Hi this is pretty basic jQuery stuff but i am a little lost. So i have a 310px images that is mostly hidden from the page with something like:
.bottom-panel {position: fixed;
width:874px;
height: 310px;
display: block;
bottom: -300px;
left: 150px;
background: url(theimg.png) transparent no-repeat;
}
only the little 10px high tab is s...
i have 3 hidden fields in 1 div. when I have reference to this div, how to get 1 of the hidden fields in this div.
...
I have a JQuery confirmation popup, with Yes, No buttons. The Yes button calls this function:
function doStuff() {
$('#confirmPopup').dialog("close");
var someKey = $("#someKey")[0].value;
$.post("/MYController/MyAction", { someKey : someKey },
function(responseText, textStatus, XMLHttpR...
Hy!
I am using jquery.datePicker example from Kelvin Luck.
(http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerClickInput.html)
How can I calculate the number of days between Date1 and Date2 ?
tks guys!
...
I have a webpage with a form element and a popup window (opened by window.open).
Both have jQuery available.
The popup window has a javascript that can change the form element in the opener window. That works perfectly by doing...
$(opener.document.formelement).val(vals[0]);
However by doing that the onChange event will not fire. Th...
Hello
Has anyone been able to customize jQGrid?
While I'd like something easy I can pluing and use that provides paging, I find that the layout is "tight" ( not in the cool way ) the gird is too excel-like.
I'd much prefer one with spaced out grid rows and ability to use icons.
But before I write the grid off and start hand rolling a...
When and why to 'return false' in javascript?
...
Hi All,
I am using the jQuery nyroModal plugin within ASP.Net. I love nyroModal, and overall its working very nicely.
But I am using the endShowContent callback to set focus to the first text input element on the page's content after nyromodal is finished loading. To achieve this I have the following code on the page that initiates the...
Hello,
I'm learning JQuery and have found the factory function $() with its selectors quite useful. However, I cannot figure out how to select within a particular element I have named as a variable. For example:
var thisDiv = $("#myDiv");
// thisDiv looks like this:
<div id="myDiv">
<input id="apples" />
<input id="bananas" />
</div>
...
Hi all,
I was wondering if anyone can point me in the right direction.
I have an asp.net button with an click event (that runs some server side code).
What i'd like to do is call this event via ajax and jquery.
Is there any way to do this? If so, i would love some examples.
Thanks in advance
...
I would like a span to update when a value is entered into a text field using jquery.
My form field has a text box with the name "userinput" and i have a span with the id "inputval".
Any help would be greatly appreciated.
...
I'm having a bit of trouble iterating and retrieving width() values.
$(".MyClass").each(
function(){
elemWidth=$(this).width();
}
);
so for each "MyClass" element i would like to find the width (some are different).
But the above code only produces the width() of the first instance of MyClass and returns 0's after that.
Any ...
Hi All,
I have an UpdatePanel with a GridView inside it.
The Gridview has a TemplateColumn containing a Hyperlink.
Using jQuery at the start of the page, I set all of these hyperlinks to become nyroModal modal hyperlinks. I.e. so when you click them, the target page is loaded into a modal dialogue. This code is:
<script type="text/ja...
I am having a problem using thickbox and accordion on the same page ie none of them work. I have checked that they both use the latest version of jquery. Below are my includes. There are no other jscript files included. I am using this on a wordpress template if this can cause an issue.
<script type="text/javascript" src="<?php bloginfo...