Hi,
currently using jq 1.4.2
And i have gone through this forum and other forums for a simple fix ... since so many have had this problem..but i have not found anything that seems to work hence i am posting this problem
$(".editvolunteer").fancybox({
'width' : 970,
'height' : 4...
Hi guys,
I got this code on here recently
<script type='text/javascript'>
$('#discountselection').hide();
$('#No').click(function(){
$('#discountselection').hide();
});
$('#Yes').click(function(){
$('#discountselection').show();
});
</script>
The aim being to hide a drop down box depending on wheth...
Hi
I've got some jQuery sortable tabs and accordions which I want them to be in the same order whenever the user fetches that page. I was thinking about using cookies to do this.
How can I do this?
Thanks in advance.
...
Hi,
Im building a small webshop in .net .The webshop solution will contain several "webshops" that use the same server. My question is this: When i have a product menu and product listing. Will there be any performence problems with using jQuerey Ajax calls to get the selected product/products? There will be many calls to the same webse...
On my website I use a long polling jquery ajax function. This ajax call in this function has a 50 seconds time-out and then runs again, waiting for changes on the server.
However, sometimes the long polling http connection stops. This happens for instance when the internet connection is down, or when the client pc is turn on after sleep...
Hello.
I want to create an component like Adobe gradient picker in Javascript and jQuery. I want to use the jQuery gradients plugin. there is a div with 2 markers left and right. when I clicked in bound of div this automatically add a marker, and when I double click on this it open a jQuery color to select a color. Also the marker shou...
In jQuery is there a way of having something like:
if (button.click() || (keydown == 39)) {
//stuff
}
...
I want to embed and ftp client into my website , is there ant free web based client availbale , how to do it?
...
Hey again (on a roll today).
In jQuery/Javascript is there a way of effectively having this:
var myArray = [ 'zero', 'one', 'two', 'three', 'four', 'five' ];
//get input from user
if (inputFromUser == anythingInArray) {
alert("it's possible!);
}
...
Hi there.
I have a page with a jstree and/or jqgrid - it really doesn't matter which one I use to show my point, as I suspect it's any hover effect in IE8... Back to point:
When hovering over an <a> tag the background-color is changed with CSS. In all browsers, including IE7 (although slightly slower - I'd guess +-300ms) there is no la...
var tags ="s1,s2,...,s1670";
$("#newtag0").autocomplete(tags, {
minChars: 0,
width: 310,
selectFirst: true,
multiple: true,
cacheLength:1672,
max:1672
});
This will work in IE 7 and 8, chrome and safari but in firefox it results only s388 last with no errors.. Means 4096 chars..
Is it browser restr...
I'm sure that title is confusing. This is a Wordpress thing.
So, I have a list of pages and the structure looks like this:
<div id="menu">
<ul> <!--List of pages-->
<li class="page-item page-id">
<a href="Page url"> Ham Man </a>
<ul class="children">
<li class="page-item page-id">
<a href="...
I'm trying to run a method when the enter key has been pressed. This method is already being used by a button. Basically, when the user fills in a text field and clicks a submit button they get a lightbox. What I want to do is run this same action, but when the enter key has been pressed. Ive looked into using .keypress but I can only fi...
Hey everyone, I've been creating a little chat bot (for fun and practice).
I have the following function which isn't working correctly (FULL CODE HERE):
function runAI() {
if (i.val().length > 0) {
if ($.inArray(i.val(), helloInputArray)) {
r = Math.floor(Math.random()*4); ...
I have this infoflyout.ascx
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<script type="text/javascript">
$(document).ready(function () {
$("#flyoutdialog").dialog({ autoOpen: false });
$('#opener').click(function () {
$("#flyoutdialog").dialog('open');
retur...
Hi Guys,
I've the following problem, the following code:
$link = $_GET['link'];
$id = $_GET['block'];
echo "<p id='preview". $id ."'>The player will show in this paragraph</p>";
echo "<script type='text/javascript'>";
echo "var s" . $id . " = new SWFObject('" . COMPANY_URL . "/system/addons/player/player.swf','player". $id ."','210',...
I have the following code:
jQuery(document).ready(function ($) {
var objModal = '<div id="Modal"><div class="ModalContent"><p>please wait</p></div></div>';
function JS_Utils_ShowModal() {
if (!objModal) {
$('body').append(objModal);
}
}
function JS_Utils_HideModal() {
if (objModal) {
$('body').remove(objMod...
I find myself doing this a lot, for specific properties for animation purposes, and specially when I'm generating something using database values obtained through PHP. Is there a reason not to do this.
Some sample code, to clear up ambiguity.
This would be the JQuery:
$('.class').each(function(){
var my_new_width = $(this).attr('i...
Hi, I was wondering if it was possible to call a javascript after the button click has done its thing in asp.net 3.5
I have a script manager in master page and a button in the content page. The button just populates some repeater in a div with some data and I am setting the div's visibile=true in codebehind (the div is runat=server)
th...
var town_imgs = $('.town_img img');
var container;
var imggg
town_imgs.hover(function(){
container = $('<div class="town_img_thmb">'
+'<span class="thmb_container ajax2"></span>'
+'</div>').appendTo($(this).parents('.town_wrapper').find('.thmb_wrapper'));
var imggg = new Image...