<table border="1" style="height:50px; overflow:auto;">
<thead>
<tr>
<th>Col 1
</th>
<th>Col 2
</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cell 3
</td>
<td>Cell 4
</td>
</tr>
<tr>
<td>Cell 5
</td>
<td>Cell 6
</td>
</tr>
</tbody>
</table>
I'...
I want to return to the last opened tab after selecting a date with a datepicker. I try doing that by getting the selected tab. That works for static tabs, but not for ajax calls, because that tabs get a different index number.
How can I best do this?
this is my code:
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></s...
Hi everybody, I'm trying to encapsulate a javascript that I built using jQuery, jQuery UI, jQuery Form and xmlDom.
I want to be able to send to my client just one javascript that references the other ones, including just a small piece of js for options settings. Find below an example:
<script language="javascript">
var myOptions = {
...
I would like to alert each individual letter of a string, but I am unsure how to do this.
So, if I have:
var str = 'This is my string';
I would like to be able to separately alert T, h, i, s, etc. This is just the beginning of an idea that I am working on, but I need to know hot to process each letter separately.
I am wanting to us...
OK I am just starting out with jQuery.
I have a page with a table of date-values. Each is wrapped in a tag which I can find with
$('mytag').
<mytag>2009-10-31</mytag>
How, using Jquery, would I
take each of the source values and
pass it to a Javascript function
then replace that source value within the table with the result of t...
I have a function called f0 having some parameters. When i call it, it calls some other functions with some parameters(for example the same parameters).
The problem is, can i add somehow these functions dynamically?
A simple solution would be something like this:
var callf1=true;
var callf2=true;
var callf3=true;
function f1(params){
...
The project continues . .
I have a form that I'm serializing with the jquery form plugin. Works great.
I am then using the jquery ajax feature to post to an asp.net web method so that each form element can be inserted into a database.
My issue is this, how do I loop through each of the request.form params that is sent via ajax in t...
How can i auto scroll to bottom of page with jquery becuase i am requesting xmlhttp to update content of page
...
Hai,
I need a simple grid view with horizontal and vertical scroll bar using Jquery or simple javascript or in php, can anyone suggest me a simple grid view plugin?
...
Hi I am messing around with google ajax api at the momemt and following the examples from the documentation I have two script tags in my html file:
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">google.load('search', '1');</script>
All works fine, but it...
I want to have the background image change form one to another and fade in the process. Consider this for a mouseover/mouseout situation.
How do I fade background images using jQuery?
Is there a jQuery plugin that I need?
...
Hello,
I have the following code which,currently im running on my local machine.I am making a call to a php script called getxml.php,which should send the contents of an xml file as the response.
But,instead of a GET request, in Firebug i see that an OPTIONS request is being made, like
OPTIONS getxml.php . I think im not making a cross...
Hi Everyone:
I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually.
Thanks for any help!...
Hi, I have a pagination script which splits the data up nicely aswell as filtering options to sort through the data. Here is what I'm working on: Click here You can view the entire script by viewing source.
The problem I'm having is when using the filtering options, the content goes away correctly but the pagination numbers stay the sam...
I have revised a jquery box :
http://designer-depot.com/manset/test.html
In <ol></ol> everything work perfect. But I want to on mouseover <h2> and abstract news for headline1,2,3 changing.
How can I do this.
Thanks in advance
...
Hi
I have this
var date = $('#Date').val();
this get the value in the textbox what would look like this
12/31/2009
Now I do this on it
var id = 'c_' + date.replace("/", '');
and the result is
c_1231/2009
It misses the last '/' I don't understand why though.
...
can someone show me how to make a jquery ajax completion event.
$("#submit_js").click(function() {
$.post(
"user_submit.php",
{comment: $("#comment").val(), aid: imgnum},
function(data){
/*alert(data);*/
});
});
when this POST request completes successfully, I want to show the message in a specifi...
while ($row = mysql_fetch_object($result)) {
$data[] = $row;
echo "<div id='captionbox' style='width: 110px;float:left;color:#FFF;text-align:center;'>";
echo "<a href='#' class='thumb'><img class='thumb-img' value = ".$row->aid." onclick='getVote(".$row->aid.", \"".$row->atitle."\")' src='images/roadies/th".$row->aid.".jpg' ...
<td>
Some stuff here
<span style="display: none;">sekret stuff here</span>
</td>
How would I go about getting the content of the <span> tag in that td, so that my output would be "sekret stuff here", using jQuery?
I've tried a couple of different things, but couldn't get anything to work. =/.
...
I'm helping a friend do a little jquery, and along with that is some simple CSS work...but I'm no CSS expert, and things (as usual) are acting a fool in IE7--I think they are fine in IE8, but the client needs it to work in IE7...ahem.
I forgot to mention specific problems:
The Main nav contains a drop-down. In IE7 it doesn't work.
Th...