Hi,
i have the following situation (please see image below after reading the following):
.dragoverlay (white rectangle in image) is a (jQuery) draggable div. it's the same size as the browser viewport.
.items (small red square(s) in image) is an absolutely positioned div of size 0x0.
The lightblue items squares are absolutely positi...
Hi,
I am trying to use the jquery.autocomplete plugin within a ajax form. The form is also within a modal dialog using thickbox.
The problem is that it seems to correctly call the controller method and return the results, but it does not actually display anything on the screen. I copied the markup code into a regular view and it work...
How would I use JQuery to find a radio button by its value?
...
Why does this code work:
$('div.error_container').html('<div class="error">No more foo allowed</div>');
But this code causes an error:
$('div.error_container').html('<div class="error">No more foo allowed<br /></div>');
I've tried putting the <br /> before and after the </div> tag, same error. I've treid changing it from <br /> to...
Hi everyone (this is my first thread here)
I'm making an "imageslider" (but with div:s) with jquery.
The question is, How do i hide my scrolling elements outside of the div with the border?
(I'm new here so i cant do post with links so i deleted them)
The code:
<script type="text/javascript">
var pos = 1;
$(document).ready(func...
The following is the part of a script, where i sent some values to a php-file:
var order2 = $(ui.item).attr(\'id\') + \'&action2=insertList&feuser='.$feuser.'\';
$.post("index.php?eID=moveitems", order2,
I know how to read f.e. the value of "action2" in the php, it s easy done with "$_POST['action2'];". but how to read out the valu...
I have the following code that works:
<script type="text/javascript">
$(document).ready(function() {
// Initialise the table
$('#table_1').tableDnD({
onDrop: function(table, row) {
$.tableDnD.serialize();
$.ajax({
type: "POST",
url: "test.php?"+$.tableDnD.serialize(),
data: "",
success: function(...
Here: http://api.jquery.com/toggle/
Anyone knows why the second example (Hello and Good Bye Example) does not work in IE8 ?
...
Hello, I have this table. I want to change the color of a cell, from black to red, when i move over that cell, I'm using the .hover method, and i'm having trouble figuring out how to make work accordingly to what i need.
<html>
<head>
<script type="text/javascript" src="jquery-1.4.js"></script>
<script>
$board = $('#bo...
I have a link and would like to show/hide ONE form. The first line does it but it does it to ALL forms inside of the one in its own comment div. How do i select the form. the other 3 were guesses and dont work (they seem to do nothing at all). I'm thinking going up to the comment, then down to the form and use toggle on it (as the first ...
Hello!
I made some CMS in PHP which manipulates with data from MySQL.
In my CMS, i have some input fields in which I would like to have jQuery's fancy autocomplete implemented. Basically, the idea is to create jQuery's arrays from MySQL tables...
I'm working with PHP 5.3.0, MySQL 5.0.82 and Eclipse 3.4.2. My PHP project in Eclipse is UT...
I'm having trouble firing a click event on an .
When insertIntoInsertHolder() is called it adds a link to the content of div#swf_insert_holder - I then create the click event just below. However the event doesn't fire.
$javascript = "javascript:;";
$swf_insert_box_link = "swf_insert_box_link";
echo "
function insertIntoInsertHolder( f...
I am writing $(this).closest('.comment').find('form').toggle('slow'); and the problem is each of the forms in the child is being toggled. I would like only the first form to be toggled. the html is something like the below and this is the a link
<div comment>
<a href>
<form>
</form>
<a href>
<div comment>
<form>
</form>...
I'm having problems with the jQuery stuff for IE8.
It works well in Firefox and Safari, but not IE8. http://www.ninjasliveclancodes.com/
When I click bump or add code, it doesn't show the error messages. Can anyone tell me what is wrong?
...
http://www.gomatagorda.com/matagorda-weather/
I'm using jQuery to load [root]/data/weather-full.htm which is uploaded by the weather station every 60 seconds.
I'm loading that file every 30 seconds, to maximize freshness of the data.
In Internet Explorer 7/8, after a refresh, half of the right column of data disappears. I've tried var...
At the beginning of my script, I have:
jQuery(function() {
jQuery('img.thumbnail').hide().load( function() {
jQuery('img.thumbnail').fadeIn();
});
});
Which nicely fades in all the thumbnails on the page as they are loaded. However, when I access the page for a second time (when it is cached), or when I press the back button ...
I want to resize an image parent to the same size of the image, when the images are loaded.
At this time i'm using this code:
$(window).load(function(){
$('.image-principale').each(function(){
$(this).parent().css('height', $(this).height());
});
});
It work, except than it runs only when every image has loaded.
I tri...
i have been working on my carousel items. i need to have a sortable list views in order for me to choose the appropriate format of details in the actual site.
i was able to do the sortable items using this command in jquery
$(function() {
$("#subsortsortable tbody.content").sortable();
$("#subsortsortable tbody.content").disab...
I have a sidebar list of links, code shown below...
<div class="WikiCustomNav WikiElement wiki"><a href="/" class="wiki_link">Home</a>
<a href="/Calendar" class="wiki_link">Calendar</a>
<a href="/Science" class="wiki_link">Science</a>
<a href="/Language+Arts" class="wiki_link">Language Arts</a>
<a href="/Video+Page" class="wiki_link">Vi...
Ok, I'm making a login and registration panel with jquery and php. In short, if there are errors with the registration it sets a few form errors, redirects back to the registration page, the javascript detects there are errors with the use of a php variable and forces the slider to show itself.
The working code: Above the doc type $err...