Hey guys,
I have a really dumb question if you don't mind me to ask :(
the thing is that I would like to customise the filter in my datatable to the search field similar to stackoverflow's but i've been struggling so much recently so not sure if i can do it.
my datatable looks like the one from the example in the link below:
link text...
I am learning jQuery and trying the following but the parameters are so foreign to me with all the embedded quotes I think that is my problem. Can someone explain the parameters and where quotes go and possibly rewrite my parameters line? (This is a live site to see the required parms).
function AirportInfo() {
var divToBeWorkedOn = '...
I am appending new data - $('#posts').append(data);
But I want this new data to .slideToggle() while appending.
How can it be done?
...
I wrote a userscript to highlight the current row in GMail (indicated by the arrow). Unfortunately the highlight will only stay until GMail Inbox is auto-refreshed, which happens quite often. Is there a way to catch that event so I could reapply the highlighting? I don't want to do it on timeout. There is another userscript that does tha...
$.post('includes/script.php', $(this).serialize(), function(data) {
$('body').append(data);
});
alert ($('#new').length)
php script is <php echo "<div id="new">text</div>" ?>
it alerts 0, so it can't see new div.
How can you make it see new div?
...
i want to create a new '.b' div appendTo document.body,
and it can dragable like its father,
but i can not clone the drag event,
how to do this,
thanks
this is my code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" co...
Hi,
I found this great Tablesorter plugin for jQuery but I can't make it work with my PHP generated table. Here's the code:
<script type="text/javascript">
function table() {
$("#container").load("table.php?randval="+Math.random());
}
$(document).ready(function() {
table();
$("table").tableso...
I have a div in which there is a datepicker. I use something like this to clone it:
mydiv = $('#someDiv');
// works fine so far
mydiv.find('input.datefield').datepicker();
// clone without the events and insert
newDiv = myDiv.clone(false).insertAfter(myDiv);
// datepicker won't re-init if this class is present
newDiv.find('.hadDatepi...
I am designing a website that plays music. I need a flash player that has or can handle a now playing list. The problem I am facing is that I cannot update the playlist without refreshing the player which means it will interrupt the song that is currently playing. I have trying with JW player in particular so far and have not been succes...
I try using evt.parent.attr("id") inside jsddm_close, but it doesn't work.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
var ddmenuitem = 0;
function jsddm_open()
{
// When "help-menu" being click, I will toggle drop dow...
I have the following bit of code, simply:
$(function() {
$('a.add-photos-link').live('click', function(e) {
$(this).colorbox({
overlayClose: false,
onComplete: function() {
$('#add_photos').submit(function(e) {
// more stuff to do
e.preventDefault();
});
}
});
e.prevent...
Whenever a click event happen on a hyper-link, I will use JavaScript to toggle the display of a drop down menu. However, I realize there will be a dotted line rectangle surrounded the hyper-link still. May I know how I can explicitly remove the dotted line rectangle after the click?
...
Hi all
I have this menu structure that is used to navigate through content slider panels.
<div id="menu">
<ul>
<li><a href="#1" class="cross-link highlight">Bliss Fine Foods</a></li>
<li><a href="#2" class="cross-link">Menus</a></li>
<li><a href="#3" class="cross-link">Wines</a></li>
<li><a href="#4" class="cross-l...
I've used the "FeatureList" Jquery Plugin to make my own content slider.
The script can be found here: http://pastebin.com/7iyE5ADu
Here is an exemplificative image to show what I'm triyng to achieve: http://i41.tinypic.com/6jkeq1.jpg
Actually the slider add a "current" class to an item (in the example the squares 1,2 and 3) and for e...
cauz i have to use a normal dom-element ,
the dom-element is like this : document.getElementById('a') or document.createElement('div')
so my mean is change $('#a') to document.getElementById('a')
can jquery do this ??
thanks
...
I would like to make the info window editable when i click on it.
This is my code:
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
...
Hello,
I want to move to the next from can I use .next()?
var i=0;
$('#next').bind('click',function(){
$('#id'+i).next();
i++
});
<div style="width=150px;">
<div id=id1></div>
<div id=id2></div>
<div id=id3></div>
<div id=id4></div>
</div>
Next
Thanks
Jean
...
this is my code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
<style type="text/css" media="screen">
</style>
<!--<div id="m...
Hi, seems like I'm stuck with jQuery tabs. I'm trying to pass selected tab name to some php script but is seems like it doesn't get any data.
This is how tabs normally work without any response from server side:
http://pastebin.com/KBxj7p5k
And this is how I try to pass the the current tab name to the server:
$(document).ready(functi...
Hi,
I would like to to pass the colors for the events through my json events source for jquery fullcalendar, how do i achieve this ?
...