Hi all!
I apologize in advance for the wording of the question...
I have a table that is being returned after an AJAX call. In the last <td> of each row is a hidden div that I have wired up to show on mouseOver and then hide again on mouseOut of a <a> link that is visible in the <td>. What I'm trying to accomplish is that if someone ac...
If I open a browser dialog with window.open, can I move HTML DOM object back and forth?
I know how to use jQuery's .detach() to move stuff (with all bound events) within the page. I wonder if there is a way to do it between a page and it's child dialog.
The main purpose is to support a "detach" or "tear off" functionality for a widget...
Is there any way to reorder or manipulate a set of inputs before posting to a script for processing?
I'm able to reorder the elements in the DOM no problem, but getting this to happen after the user presses the submit button and before the browser makes the POST is a bit tricky. I'm using the ajaxForm plugin in jQuery. There is a beforeS...
Hi all, I'm sure this is super easy, but I can't seem to think what I'm doing wrong, anyway I have a "title" select list for my form, and I want to display a textbox if "Other" is selected.
<select name="title" id="title" class="required">
<option value="" selected="selected">- Select Title -</option>
<option value="Ms.">Ms.</op...
Hi Guys,
First post here so please be gentle :)
Ive tried searching all over the net and im not sure im searching by the right terms niether for its name. But what does the secondary options do in a jQuery selector? For example:
$('.results table', this.parent().prev())
The second lot of options on the .results table matches im not ...
Hello. There is an issue that I cannot solve, I've been looking a lot in the internet but found nothing.
I have this JavaScript that is used to do an Ajax request by PHP. When the request is done, it calls a function that uses the Google Visualization API to draw an annotatedtimeline to present the data.
The script works great without...
Hello
i don't know if that's possible but i don't know anything about this, so i decided to ask.
is it possible to rotate a div on x,y,z axises using javascipt library like Jquery ? or something like this?
Thanks
...
Basically, I receive raw timestamps and I need to format them into HH:MM:SS format.
...
I click a link in a table cell. I need to get the value of a specific cell within this same table row.
this
that
here
there
qwqw
dfgh
ui
there
I have a click handler attached to the link in the fourth cell. That click handler calls a function that opens a modal window. When a form in the modal is submitted I want to also pass the v...
Hey All
I want to be able to show an image made on the fly with php in jQuery Dialog window.
When I try this all I get is the binary data for the image. But creating the image on a normal php page is not a problem.
I have a simple php script to create the image
public function image()
{
header('Content-type: image/png');
//...
EDIT: This question was initially too general, I think. So What I really need is a very good tutorial on how to implement the Load More function on Safari for iPhone just like the Twitter website(mobile.twitter.com) does. Just a wordpress plugin won't really help. But if the plugin is well explained, like if it is wptouch, home(that also...
Hi Guys,
For some reason, I can't get this to work.
My options list is populated dynamically using these scripts:
function addOption(selectId, value, text, selected) {
var html = '<option value="'+value+'">'+text+'</option>';
if (selected == "on") {
html = '<option value="'+value+'" selected="selected">'+text+'</optio...
Hello, I am trying to pass an id value to a php script with jquery.
So, I was trying to create a link:
<a href="#" id="superman">Superman</a>
and when this link is clicked, I would like jquery to grab the id value and place it in the php script or php grabs the id? im not sure the best way.
I want the id value so it can be placed in...
I want to add a simple onChange event to a select list I have in Rails. How do I do this?
This is the select box code:
= f.select(:question_type_id, QuestionType.all.collect {|qt| [ qt.name, qt.id ]}, { :include_blank => "Please Select a Question Type" })
The onChange event is supposed to call a function, fillAnswerNumber(), which t...
I'm using a jQuery gallery script called Galleria, in conjunction with a wordpress theme I'm working on. The problem (as you can see) is that no image loads right off the bat, as it should. Is there any sort of workaround you can think of, to force the image to be loaded into that ? Thanks!
...
hi guys, I'm wondering why this simple switch isn't working.
the html of the checkbox is:
<input type="checkbox" id="use_billing" value="1" />
While the jquery inside a document(ready) is:
$j('#use_billing').change(function(){
switch ($j(this).val())
{
case '1':
$j('#gift_to').slideUp();
break;
defa...
i've used .load() with jquery to call a php file that will return search results back into a div below a search input bar, but in the div, using TAB or down arrow will not cycle through the results.
It's apparent the key controls don't know the new div of results exists.
What am i looking for exactly to fix this?
I've called my php ...
I am at a loss here with some simple jQuery. I have the following code in a separate file:
$(document).ready(function(){
//$("#trackit").click(function() {
$.ajax({
type: "POST",
url: 'include/trackit.php',
data: "trackingNum=123456",
success: function(data) {
alert(data);
}
})...
Ok I have this html
<marquee scrollamount="6">
<a href="javascript:void(0)" ><img src="images/banner/03.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/04.gif" /></a>
<a href="javascript:void(0)" ><img src="images/banner/05.gif" /></a>
<a href="javascript:void(0)"...
All jQuery examples I see has in-line functions.
If the function is pretty long, or if the function is reusable, I may want to separate the function.
For example, how can I turn this
$('#myElement').click(function(){
$(this).addCss('clicked');
})
into something like this
$('#myElement').click(ElementClicked($(this))
function Ele...