I remove initialIndex:0, so http://dl.dropbox.com/u/6594481/tabs-2010/get-request1.html#two.html will get one ajax GET request in Firebug console. Unfortunately it stopped to get ajax request for http://dl.dropbox.com/u/6594481/tabs-2010/get-request1.html on IE7 and IE6, on other browsers it works fine. What is the issue for that?
check...
Hi All,
I have a problem in binding data to the JQ Plot
<script type="text/javascript" language="javascript">
$(document).ready(function () {
// $.jqplot.config.enablePlugins = true;
var goog = [
['6/22/2009', 425.32],
['6/8/2009', 424.84],
['...
I'm trying to set the width of a div using jquery.
this is how I'm trying to set the size of the div
$('#page').css("width",data[0]['imageWidth']);
and this is the div I'm trying to set
<div id="page">
</div>
any help with this would be much appreciated
...
When I tried to fetch the values from a Json response, I stucked up. Here is my code
Code:
$.ajax({
url: 'checkvotes.php',
dataType: "json",
success: function(data) {
// want to fetch UP and DOWN variables from JSON here
}
});
AJAX Response from PHP
{"sample":[{"id":"1","message":"my message","up":...
How to hide a table row that has no unique id, but row just contains TD with a specific text,
note that I cannot adjust the classnames or add ID's there either. Its nested TR.
eg.
<tbody><tr>
<table id="baskettable"><tbody>
<tr class="SeparateRow ">
<td class="SeparateColumn" colspan="2"> DO not hide this row</td>
...
I am remaking a page on the admin section of a website I administer so that it uses jQuery and AJAX. On one of the pages I have a list of items. Next to each item there is a link which is something like this:
<a href="delete.php?id=48" class="del_link">delete</a>
If I give these links a class I can easily apply a jQuery function to al...
RichFaces 3.3.3 comes baked in with jQuery 1.3.2 and prototype and scriptaculous as well.
How can I try and use the latest version of jQuery?
Can I use the Google CDN one?
Also the $() object is defaulted to prorotype and to use jQuery I have to do jQuery()
is there a way to get back the $ for jQuery without breaking RichFaces?
UPDAT...
I'm unable to remove prototype from a JSF framework (RichFaces 3.3.3). And if I try noConflict and try to take over $ it breaks my application framework because its tightly coupled with prototype.
So is there a way that I can do this:
jQuery(function() {
/*
some code that within this domready function
allows me to ...
Hi, I have a question: how to create a menu for AIR app in Aptana Studio (using AIR + jQuery)?
In ExtJS it would be like
var menus = Ext.air.SystemMenu;
menus.add('File', [actions.newContact, '-', actions.quit]);
But how with jQuery? Thanks!
...
Hi guys, I am trying to change the id's of all of the check boxes inside of a parent container, but thus far I have ot been able to get it to work, here is my code,
HTML:
<div data-custom='other_container' class='container'>
<h3>Other:</h3>
<div class='container'>
<label for='monitoring'>Monitoring and verification of energy savings:...
I'm setting up an API for a simple webservice and stumbled upon a problem. I use Ruby on Rails for the back end and a JQuery ajax call to send a POST to create an instance of a model. The JavaScript code is:
$.ajax({
type: "POST",
url: "http://localhost:3000/api/v1/person/add",
data: "name=John&location=Boston",
success: funct...
I am using asp.net validation to validate my form and i want a javascript to disable my submit button when there are no validation errors
$().ready(function() {
$(".btn").click(function() {
$(".btn").attr("disabled", "disabled");
$(".btn").removeAttr('href');
});
});
atm the linkbuttonn will be disableded when...
In ASP.NET, I am preventing default postback action when user presses enter while textbox control has focus. See the following piece of code
$("#TextBox1").keydown(function(e)
{
if(e.keyCode == 13)
{
//alert("Hello");
return false;
}
});
This co...
Hi all!
I have this rather simple Ruby on Rails application : two models Lists and Items. Lists have many Items and Items belong to Lists. OK.
The show method of ListsController prints a page with the list of the items belonging to the given list (in a partial lists/_listOfItems.html.erb). At the end of the show.html.erb view, there is...
Hi everybody,
I try to reload my grid with the search parameters I got when I went to another page and I come back to the grid, so for the beginning, I tried with hard-coded parameters.
When I try this in a click function, it goes very well:
<a href="javascript:void(0)" id="r">reload</a>
jQuery('#list').click(function(){
$('#list').jq...
Hello guys
i am developing MVC application, I want to call a action (with 2 parameter) when i click on some button and on the event handler of the button i do the following :
var url = '<%: Url.Action("SomeAction", "SomeConroller") %>'
$(location).attr('href', url, new { param1 : value1 , param2: value2 });
but...
hi,
So part of my web app centers around this very important form which is used to create a form. Its like google docs form. The user keys in a type (checkbox, textfield, numericfield) and a label and slaps it into the system, and it generates a form somewhere.
Its a little more complex than google forms, the field types are complex an...
I have a form that validates zip codes on a min/max length basis. I need to have the zip min be 5 digits for all countries EXCEPT Australia which needs to be 4.
Here is what Im having trouble with:
$.validator.addMethod(
"AusZip",
function(value, element) {
if ($("#Country").val("Aus") && ("#PostalCode").len...
I accept both C# and VB.NET
If you visit this http://www.eol.org/pages/983558 and then click on the link like the image below you'll see in-line pop-up DIV which displays a busy status of Ajax callback before it displays the information. So, the information is not there yet until you click on the link.
I'd like to do the same but...
I have the following script which I am using in an intranet environment:
function LaunchApp(the_app) {
var ws = new ActiveXObject("WScript.Shell");
ws.Exec(the_app);
}
This allows me to pass it an exe path to launch directly from a web page as long as internet explorer's intranet security settings are adjusted.
The problem is...