I'm trying to rewrite this as a for loop; my attempt below failed. Any ideas?
jQuery.event.add(window, "load", resizeFrame);
jQuery.event.add(window, "resize", resizeFrame);
function resizeFrame()
if ($(window).width() < 232){
$("#grid-content").css( 'width', '232px' );
}else if ($(window).width() < 458){
$("#gri...
I'm getting a 'File does not exist' error. In my ASP.NET app. This is a strange one, though.
Firstly, there is no file IO code anywhere around - I'm not doing anything with any files when it occurs.
Also, it's happening on the very last closing curly brace of the Application_Error() method in global.asax (that's the one you put code i...
Any one have the ultimate PHP function(s) to add/remove parameters from a query string?
It needs to handle all possible cases, Ive seen ones that handle some cases, but not all.
Some example cases:
http://mysite.com?param1=1&param2=2
http://www.mysite.com/?param1[]=1&param1[]=2
ftp://user:[email protected]/files/uploads/?param1=...
I have one bit of javascript that fires off an ajax request, the result of which gets loaded into a popup dialog.
This is the same javascript in all cases, but in one case, the route fails.
From the new_army_list page:
Started POST "/army_lists/preview" for 127.0.0.1 at 2010-10-13 21:42:15 -0400
Processing by ArmyListsController#previ...
Hi, I am using Jcrop and I wan't to dynamically change the aspect ratio for the selection based on user input, so I guess the way to go is to use Jcrop api.
Thing is that if I use it as a jquery function it works ok:
$('#cropbox_full').Jcrop({
onChange: update_full_dimensions,
onSelect: update_full_dimensions
});
But if I use it ...
Hi Guys,
I've done some searching around the documentation, and spent a while on the net but cannot find a solution to this! I want the alert to tell me which iteration of each() it was on when the .thumb is clicked.
EG: There are six .thumb's I click on number 3, the browser pops-up 3!
What actually happens is regardless of which .thu...
I have the following code for the jQuery UI datepicker:
$(function() {
$(".date").datepicker({
showOn: 'button',
buttonText: "Choose Date",
dateFormat: 'yy-mm-dd'
});
});
It creates a button on the side of the text box so people can click the box and select a date. Is it possibl...
I'm trying to get the "click()" function to display the value of 'i' at the time I passed in the function. But its referring back to the value of 'i' after it finished. I'm drawing a blank on how to get the function to refer to the value of 'i' when I first passed the function in.
for( var i=0; i<10; i++){
var ts = $('#<span></span>'...
I want to create a family tree in my website. Can anyone help me?
...
Hi
I have a div container having some string,Some child div have a text like "Welcome", I want to make that container div disabled i.e not clickable, If that container child div have "Welcome" string.
My Markup is like this.
<div>
<span>some text</span>
<span>some text</span>
<div>
<span>some text</span>
<span>some ...
Hi all
I have a form where I've got multiple text inputs for various timefields, each with a unique ID set for some other code that I'm using. I'm also trying to use a time entry script that has a simple single line bit of code to implement, but as I have 28 different fields all with different IDs, this is going to get repetitve fast. I...
Hi I'm using the jquery ui accordion. I've been trying to figure out how to (in addition to the usual accordion function) if I click an outside link it'll act as an anchor tag and also slide the div up show the content?
<script type="text/javascript" src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
<script type="text/ja...
In my spare time am trying to learn javascript & jQuery. I generally experiment on a website. I want to achieve a faint shadow-effect when some element appears on the page. This gives -
This appears as if the element is above other elements on the page.
and makes this new element something important to look at.
How can I get this us...
I have a script that I want to run before the page start to load. The script checks the value of a variable and depending on the value redirect the user to a new page.
I can successfully check the variable and redirect if needed but the page still loads and display empty page but then quickly redirects to the other page. I don't want t...
I have tried to use jquery, but could not override the width property of the .gridHeader class.
I'd like to fix (let's say 100px) the width of the first column in the table.
<html>
<head>
<style>
html, body {
font-family:Tahoma;
font-size:11px;
}
.grid {
...
Please see image and give me some advice.
$.ajax({type: 'GET',url: "/_layouts/EmkayCRm/EEagle.ashx?caller=GetCallListFinalData&ID=" + $(Cbo).attr("ID"),
timeout: 300000,cache: false,async: true,
success: function(data) {
var Res = eval("(" + data + ")");
}
});
...
Hello folks.,
i would like to develop iPhone App something similar to this link
i am planning to develop this using jQuery.
i would like to have some pointers as how to set database and access it.
...
Hi guys I dont know if this is something that a new programmer should true or not, but heres my problem. I have a table of 13 columns at at present about 400 rows. yes i nkow this is a large table and unfortunatley it will only be getting bigger. what i am trying to achive with this table, somehow, is to have a function that checks the ...
HI.
I am using JQuery tabs in my aspx page, but update panel is not working. If I do any operation in tab2, after posting back, tab1 is activated. How can i solve this?
Thanks in advance.
...
dear all, i have two buttons inside my page. i want for the 1st time the 2nd button cant click(inactive), but we can click it after we click at the 1st button.
And of course after 1st button clicked, it become inactive.
this the sequence:
button 1 ---> active
button 2 ---> inactive
then click "button 1"
button 1 --->inactive
button 2 ...