i am trying to develop a site............
my problem is that how can i reload only php page according to the tab pressed........!!
please do note that i have a single div for out put content.........!! if i put a setInterval() jquery function than it reloads only the first page if any of other tabs are pressed........!! and the page goe...
Hi guys
I would like to create a javascript/jquery so that when I hover an item, 2 or 3 classes are called as a hovering image, since there will be a "left", "middle", and "right" image. The left and right will be fixed width, but the middle must grow according to the size of the remaining width.
I tried using the lavalamp effect, how...
i am creating the textboxes dynamically using jquery on a button click.
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="lblCustName">
</div>
</td>
<td>
<div id="lblRemove">
</div>
</t...
Hi All,
I want to know in below case will the browser stop traversing the DOM after getting the first .myclass
$(".myclass").eq(0)
...
Hi,
I have this jquery code to output the entries in a JSON file on page load...
$.getJSON('b.json', function(data) {
$('#dictionary').empty().hide();
$.each(data, function(entryIndex, entry) {
var html = '<div class="entry">';
html += '<h3 class="title">' + entry['title'] + '</h3>';
html += '<d...
Hi!
What is the best way to test for an empty string with jquery-out-of-the-box?
I.e., without plugins. I tried this:
http://zipalong.com/blog/?p=287
But it did't work at least out-of-the-box. It would be nice to use something that's builtin.
I wouldn't like to repeat
"if (a == null || a=='')"
everywhere if some "if (isempty(...
I have just made some changes to a jQuery ui widget and I would like to release them.
I'm not concerned about releasing the changes under the same license, but I would like to know how I should indicate copyright for my changes?
The original copyright statement (below) only refers to an authors.txt file.
/*
* jQuery UI Draggable 1.7....
How do I use beforeSend callback in $.getJSON(cross domain).
More specifically $.getJSON is call is to a YQL service
Like
select * from html where
url=”http://www.yahoo.com”
...
Hi,
if I have :
$('.someClass', $('#context1,#context1')).bind('click',
function(e){
// XXX
}
);
how can I know in point XXX , which context (context1 or context2) is the one that the .someClass element was clicked ?
Thanks,
greetings
...
Hello,
I have a certain number of div boxes that all have the same class name. I am trying to apply something to them all but have no luck. The code I constructed so far is
$(document).ready(function(){
elements = $('div.easy_editor');
elements.each(function() { $(this).css("border","9px solid red"); });
//elements[0].css("...
I have a form with a collection of Html and ASP Server Controls. Im using JSON to preload some drop-down lists.
I want to maintain the states of these drop-down lists on postback. Im quite new to JSON, can anyone help?
...
Why does not jQuery form validation plug-in work?
This is the code:
<form id="form2" action="comment.php?id=5" method="post">
<div>Input your own comment:</div>
<textarea id="textarea2" name="textarea2" rows="3" cols="29"></textarea><br/>
<input type="submit" value="Submit"></form></div>
<script type="text/javascript" src="http://de...
Hello,
I am looking to build a website that allows the user to fully customise the content that they see. I will be building this using CodeIgniter or Zend Framework and also jQuery. What I need to know and gain some advice on is how is the best way to create the content on the fly,
When a user selects that they would like the blog s...
hi,
i made several table-based-widgets (listview-kind-of) which all have the same characteristics:
styling odd/even rows, hover on/off, set color onClick, deleting a row when clicking on trash-icon.
so it's always the same (prototype-)code for each widget.
is there a way to have the code only once then simply apply/inherit it to all wi...
I have div#myid that is resizeable with minHeight = 30px;
I want to do something to another div div#myotherid, e.g. adding new class..
Have do trying the following, but no luck..
$(document).ready(function() {
if ( $( "#myid" ).css( "height" ) == "30px" ) {
$( "#myotherid" ).addClass( "newclass" );
}
});
So, what is the other wa...
Hiya i was wondering if anyone can point me in the direction of examples or sample code for a few things regarding table minipulation i'm trying to achive but haven't been able to crack yet.
I currently have a table of data being produced that is sorted and displayed using Tablesorter plugin for Jquery.
I would like to add these extr...
Hi,
I have a navigation list, the effect I am wanting is for when the user clicks on a link an accodian style div is built and displayed by jquery, then if the user clicks the same screen the is deleted from the screen, could someone suggest how this could be achieved I have been searching google with no luck.
Thanks
...
hi to all
I have navigation menu using images, I want that if the user click a menu then change the image. Let say my image menu is "about-us-our-mission.jpg" then once the user hit this button then it will change into "about-us-our-mission-roll.jpg", so if the user hit another button like "about-us-our-pride.jpg" then it should change ...
Hi,
I'm trying to create a nice scroller where the text scrolls up, like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitle...
I am currently building a website in codeigniter that is one page site, basically one the user comes to the page, they created with a main menu from that menu they choose which sections of the sites they would like to see, and clicks on the associated links...clicking on these links should display the content in their own accordian menu....