Im attempting to pull in an xml feed that I can load up with php and simpleXML and I can view the direct link, but when I try to use jquery and GET it just times out and I never get a response, the error that comes back is undefined.
Here is the code im using
$.ajax({
type: "GET",
url: "myurlishere",
dataType: "xml",
timeout: 1000,
con...
I'd like a div (#menu) to be fixed with its bottom edge to the bottom edge of its container (#cont). Normally this is easy with absolute positioning, but I want #cont to stretch to the size of #menu. Then why does it matter if it sticks to the top or bottom, you wonder?
I use the jQuery slideUp effect which vertically shrinks #cont in a...
I have links that when clicked, select all the checkboxes or deselect them.
I also have a dropdown list that I want to be made visible only if at least one of the checkboxes are selected.
What is the best way to do this?
Should I write login inside the code that selects/deleselects them or is there a better way to do this?
...
Imagine a big html table with many rows that does not fit the screen, do you know how to focus on a given row with javascript\jquery avoiding the need to scroll down?
many thanks
Michele
...
I'm building a small Chrome extension that must send messages through a POST http request to a server in my company network, and I'm using jQuery 1.4.1 to speed up the development of the javascript part.
I have this code to send the request:
function send() {
$.ajax({
url: "http://mycompany.com/update",
method: "P...
I upgraded from JQuery 1.3 to 1.4.1, but now I get an exception:
System.IO.FileNotFoundException was unhandled by user code
Message="Specified file does not exist: \"~/Scripts/jquery-1.3.2.js\"."
Source="Telerik.Web.Mvc"
in the call to Telerik's ScriptRegistrarBuilder.Render(). But I am not referring to Jquery 1.3 anywhere in my code...
Somebody knows a way to export the data from a jqgrid to excel?
I want to do a report using this jqgrid that i think is awsome. But i need to save or print this report somehow, because is information to be keeped.
Somebody knows any way??
...
Hi i want to trig a function when user click in page links for example abc.com/hello.html#variable1 i want to catch #varible1 and execute a function.
...
I'm new at JQuery and I have a bit of an OCD issue.
I'm using SlideToggle with click function to hide/show a container div. However the div inside of it doesn't slide with it, it just appears.
Is there a way I can get both DIV's to slide in together?
JQUERY:
<script type="text/javascript">
$(document).ready(function(){
$("#store_cont...
I'm really confused, and not even sure what to search for to find answers. I'm getting multiple calls to a javascript function. I'ts not making sense to me.
Here's what the code does.
$('expenses_txt').live(\'keyup\', function() {
$(this).typeWatch({ highlight: true, wait: 500, captureLength: 0, callback: calculate_expenses });
...
I'm new to web programming, right now, I'm working on on a Web Based Survey Application on which I want to utilize XML.
My Questions are the following:
Using ASP.NET MVC, how do I return an XML File from the database to the Client?
Usually, where does an XML file reside on the Client's directory and how to I locate it using JQuery or ...
I'm having a problem with my jQuery code on http://alpha.spherecat1.com/, but the local copy works fine. As you can see if you visit the site now, the ajax call gives the following error:
"TypeError: Cannot read property 'documentElement' of null"
I've checked and rechecked and reuploaded everything I can think of. The documentation sa...
I'm having some trouble with prototype changing the value of a hidden field.
Function:
function remove_fields (link) {
$(link).next('input[type=hidden]').value = '';
$(link).up(".open_hours").hide();
}
If I comment out the $(link).next('input[type=hidden]').value = ''; the hide function works. Trying to set the value gives me...
I'm reviewing some code for a colleague and while there's nothing inherently wrong with the jQuery Ajax calls I'm looking at, I would like to be more certain about what should and should not appear in a normal Ajax call to an ASP.Net MVC controller action.
For example, in the following code:
$(function() {
$.ajax({
...
This line $(''+fullId+'') is giving me problems. I've created an array in a different function that gets the #id's of all the inputs in the DOM.
Now with this function i'm trying to create a blur and focus jQuery function. I've set the variable fullId to prepend the '"#' and append the '"' to the variable name, but how do I get it ...
Hi to all,
Basically, I have an HTML Form and would want to pass the data from the form to n asp.net mvc controller, then the controller would return an XML for client side manipulation.
Here is my initial code:
Client:
$(function() {
$('#btnSubmit').click(function() {
$.post('/Home/Create', $('form').serialize(), functio...
Hello, I'm trying to make a game of lights out. I can get the lights to toggle on and off when i click them, but i am having trouble thinking up logic to make the adjacent one come one as well. For example if i click an edge of the table, I should see the three lights adjacent to the light i clicked, become lit. I'm thinking maybe it has...
I am using this chunk of jQuery/Javascript code on my site to open a popup window:
$('#change_photo_link').click(function(){
$id = $('#id').attr('value');
window.open("photo.upload.php?id=" + $id,"Upload Photo",
"menubar=no,width=430,height=100,toolbar=no");
});
This code works on Firefox and Chrome. It does not work on ...
I'm using the latest CKeditor with jQuery adapter.
I have successfully got it to work, and display.
However, as I am completely new to CKeditor, how do I pass in config variables using the jQuery method?
This is what I've got
$( '#input-content' ).ckeditor('', {
toolbar: 'basic'
});
I think from what I've rea...
i have created a form with zend framework and this form have some elements that all elements have a description , i set description with setDescription in design time, i want to know can
i change this Description in client side with jquery or javascripts?
...