Hello!
In my page there is two links, register and login.
The important one now is register. When I click it, it loads a .tpl file using jquery load function. In this tpl file I include a new js file with <script> ofcourse, and it works perfectly in safari, ff, opera and chrome, but of course, Why should it be working in IE?
So my que...
Page in question: http://www.chrishanel.com/CMS
The following works in IE7, but doesn't in IE8:
HTML:
<div id="shell">
<div id="quote">
<!--[if IE]>
<div id="quoteie8" style="align:center;position:relative;opacity:1.00;text-align:center;height:144px;width:337px;margin:auto;filter:progid:DXImageTransform.Microsof...
In the DOM I have several Elements which have no ID, but instead an CSS class assigned. Like this:
<td class="foobar">...</td>
How could I access this element easily with jQuery?
...
I wonder if there's a good overview with examples that shows all the different ways of accessing html elements with jQuery.
...
I am trying to get a modal dialog which will be used to upload files to the server to display some content relative to the item selected in a grid. I'm getting errors in the jquery load method attempting to call my controller action. Initially the error I got was that it could not find the controller. I modified the path parameter in the...
I have a JqGrid that a i want to populate with Json data that is served by an ASMX web service.
Tha ajax call to get the data should be made based on info entered by user in a form. How i can configure jqgrid to do that?.
...
I'm creating a quick prototype as a proof-of-concept for a bigger project. I need to create a working cross-domain POST request, and I have jQuery available.
Since I'm assuming (please correct me if I'm wrong) that $.ajax() will not work because the page making the POST request lives in a different domain than the server receiving the r...
When I make an ajax call (see code below), what is "data". How do I set and get data
// $.post()
$("#post").click(function(){
$("#result").html(ajax_load);
$.post(
loadUrl,
{language: "php", version: 5},
function(data){
$("#result").html(data);
},
"j...
I am new to jquery and am trying to fire a function on a keyPress if there are NO inputs selected. but I am having trouble with testing for focus. Below is what I currently have but it isn't working correctly. Any advice?
var inputHasFocus = false;
$('#myForm :input').each(is(":focus")){
inputHasFocus = true;
};
if (inputHasFoc...
for(var i=0; i<barValues.length; i++) {
actualBarHeight = Math.floor((barValues[i]/chartMaxY)*barchartHeight);
var barChartID = "#barChart" + (i+1)
$(barChartID + " .value span").css('background-color','transparent');
$(barChartID + " img").animate({
height: actualBarHeight
}, 500, function(){$(barChartID + " .value span...
I'm trying to get the height of an <iframe>d document. My first instincts were:
$('iframe').document.height();
or
$('iframe').contentWindow.document.height();
Those don't work, and I'm not having much luck searching. I would appreciate any help!
...
Hello, how can I create map to send it like post-data, using ajax? For exmaple, I has an iterator each function, where I should do something like:
var map = [];
...each(function() {
map[ $(this).key() ] = $(this).val();
});
Or what another synax?
...
With the JQuery scrollable widget. If you click the top, it scrolls to the middle. Is there any way to leave the "clicked" elements within the widget where they are when clicked?
[Position1]
[Position2]
[Position3]
[Position4]
[Position5]
For example, if I click Position5, I want it to stay in its place, NOT scroll itself into Posit...
When I focus the iframe and try to push the esc key to close the window, nothing happens. I assume that it is because the focused iframe is not subscribed to this event. Does anyone have any ideas how I could attach this event to the iframe without having to manually edit each one of the pages that are contained in a thickbox?
...
Right... I need to find all < ul style="display: block;"> elements, so that I can set it do display:none.
I think I'm on the right path here... but not quite there:
jQuery('#adminMenu li').find("ul").css('display');
For advance users: how can I find and change the style with one line?
...
I have a text box for search a listbox control. User wil enter text in textbox and listbox that contain rows of Project name will be filtered by the matching search string.
Can anyone provide Jquery code for this search?
...
I'm utilizing the jQuery UI Library to create an overlay.
For simplicities sake, they live on the page (not being pulled in via an AJAX call) and are initialized via an onclick.
When they are shown, in IE 6 and 7, when you click inside any text inputs (input type text or textarea) the cursor flickers sporadically.
Of note also, when I...
I just wrote this nifty little function which works on the form itself...
$("#form").keypress(function(e){
if (e.which == 13) {
var tagName = e.target.tagName.toLowerCase();
if (tagName !== "textarea") {
return false;
}
}
}
In my logic I want to accept enters during input of a textarea. Also wou...
So I'm new to Ajax. I have an ASP.NET wizard panel wrapped in an ASP Ajax UpdatePanel. The Ajax is working well, with the page doing partial updates as you step through the wizard. I'm even firing an animated gif images using the unblockUI.js jQuery library to prevent multiple page submits. What I can't figure out is when the page fi...
What's the best way to convert this:
<a href="#" onclick="saveFavorite('345', '[email protected]');> Favorite</a>
To a clean/reusable ajax call with jquery?
...