I'm actually just copying an old question from railsforum as he asked it back in May '09 and the only reply is the authors own inelegant fix. I wondered if anybody knows of a better way? Otherwise I'm going to end up using javascript to move the hidden field about as he has.
Here's the original question:
Hi there!
Grateful ...
Is there a way without using a server proxy to perform a cross domain GET or POST request?
...
I'm having a hard time trying to find a rotator to fit my needs since I cant seem to make one...
I want to automatically fade rotate a entire div, any help with this?
...
Does anyone know how to make a multiple select (see below HTML) sortable? Using either jQuery or Ext JS? By sortable, I mean that I can drag an item (an option) up or down to reposition it in the select control.
<select id="testing" multiple=multiple>
<option>First Option</option>
<option>Second Option</option>
<option>Thi...
The file I'm loading into the modal dialog can vary in height. When the first link is opened, the top of the dialog is centered horizontally (meaning the dialog is positioned too low). After I close this and reopen again, with either the same edit button or a different one, the positioning is better.
It seems like it's always one step b...
I'm new to Javascript/Jquery and struggling with a certain issue.
In the process of adding a job to a database, the users have an option to update the contents of dropdown lists with new options. Adding the new options is handled through a greybox which posts data with PHP through to the database.
After adding the new option it doe...
When I insert a new text_area input(created by rails) into an existing form with jQuery it doesn't allow the user to type in the box, but the text_field(also created by rails) input field does.
-form_tag user_posts_path do
[email protected]_with_index do |post,index|
-semantic_fields_for "posts[#{index}]", post do |f|
=re...
If I have a div that contains other divs, how do I make it so I remove all the divs inside the original div? That might have been confusing, heres a code example:
<div class="test"><div class="delete"></div></div>
<div class="delete"></div>
How do I remove the 'delete' div thats INSIDE the 'test' div ONLY and still keep the one outsi...
Hi,
I have the following jQuery code which all works fine:
$("#sidebar .m3, #sidebar .m5").toggle(function() {
$(this).find("img").attr({src:"images/Up.png"});
}, function() {
$(this).find("img").attr({src:"images/Down.png"});
...
So I know this is a common question, and yet I feel I have exhausted all the standard items out there.
I too have a problem with a jQuery Tab and a Google Map (2) inside a div.
I have implemented the position absolute + -10000px option.
I have implemented the $().bind('tabshow').... resizeMap();
I have had zero success with this issue...
I have a page that generates json data from several fields and I want to send it to a mysql database.
I currently have a link, the user clicks the link, the javascript takes the information they've inputed and sends it to a server. Due to the nature, I need all the data in one field in the mysql database. Any ideas?
EDIT:
The data comes...
I have this code, and I cant seem to get the width to come out right after I resize the div.
this.area = $('<div class="dynamic-pinpoint-area"><div id="inner"></div></div>');
var area= this.area;
this.area.click(function(event) {
event.stopPropagation();
area.css('border', '1px dashed #000000');
area.childre...
Hi all.
I have wrote this code on my local server (Installed Apache 2 on my Mac with MacPorts) but It haven't run.
JavasSript is active on Safari or Firefox, but it haven't do on these.
Is this code worse? Or I can try other way? Please help.
<html>
<head>
<title> jquery test </title>
<script src="http://www.google.com/jsapi"&g...
Can anyone recommend a javascript plugin that rotates some small images on a card.
For an example of the functionality I want check out http://sortfolio.com
Would prefer Prototype implementation, but JQuery could work also if necessary.
I'm curious to see if there are any other cool implementations of this too (such as just hovering t...
I have this extremely basic jQuery UI Modal Dialog that I wrote for testing here. Unless I am missing something I cannot figure out why their is that grey strip across the middle of the page. I am trying to manipulate the modal background color and opacity as well as seen in the CSS markup.
...
Hi,
I wahnt to write a jQuery plugin which will change the x background-position in an looped time interval.
$('#element').pluginName(); - starts the looped action
Then I wahnt to stop it by $('#element').stopFunction(); or $('#element').pluginName().stopFunction();
Is it possible? Can You give me a tip how to write it?
EDIT (my solu...
So- I've got this ajax request, see-. Blonde, about 6 feet tall, looks like this:
$.ajax({
url: 'http://example.com/makeThing',
dataType: 'html',
type: 'POST',
data: {
something:someotherthing
},
complete: function(request, status) {
console.log("headers=" + request.getAllResponseHeaders(););
...
Is it possible to post data to a new window without using hidden input fields. Data can be possibly quite large. Looking at something similar to jQuery ajax type post.. except I need to post the data to a new page.
...
Hey, how can I make it so that there's basically just a semi transparent color covering the whole page except for 1 div (which is going to be a message)
Basically, page loads background gets covered with semi transparent blackness but a certain div (message box in this case) stays normal.
Thanks
...
My html form:
<input id="captcha_response" name="captcha_response" type="text" value="" size="5" maxlength="5">
<div class="new_comment"><input id="comment" name="comment" type="text" value="your comment here..."></div>
<div class="author"><input name="name" type="text" value="your name"></div>
<div class="email"><input nam...