I'm putting together some demo pages, and one of the things I want to demonstrate involves fetching HTML fragments dynamically with subsequent processing. Thus I've got simple jQuery code like this:
$('#target').load('./content_fragment.html', function() {
$(this).doSomething();
});
I'm doing all this from file:// URLs because the w...
Hello,
This my javascript :-
<script type ="text/javascript">
$(function()
{
$("#tabs").tabs({ cache: true ,fx: { opacity: 'toggle' }});
});
</script>
And this is my html which loads php file using ajax :-
<ul>
<li><a href="#tab1">General</a></li>
<li><a href="<?php echo base_url() . 'Admin/M...
jQuery for some reason isn't working.I'd like to know what the problem is.Here is my code :
<script language="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script language="text/javascript">
function hide() {
$("#Layer1").hide("fast");
}
</script>
<style type="text/css...
Hello,
How what data should i echo from the server to ajaxically redirect my page? Say, suppose this my jquery :-
$.ajax({
type: "POST",
url : '<?php echo base_url() ?>Admin/AddNotice',
data: {noticeTitle: $('#title').val(),noticeDesc : $('#desc').val() },
success: function(msg){
...
Hi, I've problem with animation, I want to animate div when I click on him, but don't want to animate when I click on the other stuff inside that div.
Here is me test site:
http://kni.prz.rzeszow.pl/~plum/portfolio/index.html
Kontakt div is that what i'm looking for but when I click on textareas div is animated. So that is the problem....
Hi,
I have the html below:
<span class="srch-URL">
<a id="CSR_U_2" href="http://www.test.com/TestForm.aspx">http://www.test.com/TestForm.aspx</a>
</span>
I am trying to use JQuery to find all elements matching the class 'srch-URL' then change the link contained with them if they end in TestForm.aspx by appending &Source=/de...
Possible Duplicate:
Problem working with jQuery
Hello! The follow is the code i've been using and i dont understand why its not working at all! :
<!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">
<h...
Does jQuery have any HTML page designer plugins.
An ideal one would let draw/create page with HTML tags.
Maybe close to HTML editor programs like Dreamweaver.
...
I try to do Ajax tooltip via this jQuery plugin: http://jquery.bassistance.de/tooltip/demo/
I have some thing like this:
<p id="foottip">
<span href="/last_votes/6">footnote</span>.
</p>
<script type="text/javascript">
$(function() {
$("#foottip span").tooltip({
bodyHandler: function() {
//dj ajax here and cache
...
<!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=iso-8859-1" />
<title>Shout!</title>
<script type="text/javascript" src="http://ajax.googleapis.co...
I have some AJAX calls that render PartialViewResults via the jQuery.AJAX method. This works great, I get my views rendered exactly the way I want.
The problem arises when I leave the page up for a while and the Forms auth session expires. When I click an action that performs an AJAX request, it shows the login page in my div.
I want ...
I have select inputs dynamically added to form by
$(selector).append(html)
I'm using live('change',handler) to bind change event for all selects. The problem is that code is fine in all browser, except Internet Explorer (all versions).
I've replaced live() with the plugin livequery() still working in all browser and i have strange b...
Hello,
I am trying to show server load on a web page. The server load is fetched in PHP by executing the shell command "/proc/loadavg" and displaying the output as it is.
However, I want to display the same output using Javascript (jQuery is fine) and have it updated every 10 seconds.
How do I do so? I was thinking of using Ajax quer...
How do I get the ordered numbers bold without adding more tags?
Possible in jQuery?
first element
secondelement
thirdelement
1. first element
2. secondelement
3. thirdelement
Best regards
hakan
...
Here is my piece of code :
<!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=iso-8859-1" />
<title>Shout!</title>
<script type="text/javascript" sr...
Take a look at this link http://dncminneapolis2012.com/new2
If you click on "two", it slides to the second page, and you see 4 boxes on the left. If you hover over the first one, it fades nicely to another image.
My question is why isn't it doing that for all of the boxes?
My html looks like this
<div class="facts" style="width: 4...
I have an SVG file within an object tag displaying in a table cell,and I want to make the SVG draggable within the table cell using JQuery's Draggable. The code--minus the confusing bits in the tag, looks like this:
<div id="container">
<div id="box">
<table align="center" border="1">
<tr>
<td valign="middle">button</...
I would like to preload the SWF before showing them to the user.
SWF are dynamic and I dont have the FLA files.
I would love to do it using Javascript or jquery if possible.
Thanks.
...
Is there any plugin to populate any form control from JSON data with one command?
I have a form with many selects, checkboxes and radiobuttons in it. Almost all controls depend on each other (many dependencies). Which way will be the shortest to describe all relations with controls?
Example: Form to choose travel package contains contr...
Hi,
I implemented the "growl" popup example from the book "jquery: novice to ninja", basically it shows a growl style popup in your browser which can be closed by clicking on a "close" link in it. The code works great but I want to improve it by having the popup fadeOut after some time IF the user never clicked on it to close it (it ca...