I'm working on a website for my county's fair. I want to allow my visitors to be able to ask me questions by inputing their name, email, and comment in a form like this one:
So I guess my real question is how can I send an email (using JavaScript/JQuery) to myself with all these fields as the main body of the email.
...
Hi,
I am using the jqModal plugin for modal dialogs on my page. I have a situation where one modal includes a form called via ajax (a seperate .aspx page that gets loaded into the modal window. as shown below)
$('#mdl_new').jqm({ ajax: 'ajax/new_modal.aspx', trigger: '#options_add a' });
When the user fills in the form in the new_mo...
The Idea
I have a main PHP page that loads content in DIV's from an external file using JQuery and AJAX.
The page works as follows:
Main page has list of links, when link is clicked, AJAX loads an external DIV onto the page.
This new DIV, then has another list of links, when clicked, AJAX again loads another external DIV
There are no...
I need some advice about thickbox, please!
I've just follow the example in thickbox inline but I couldn't load the content of the div in my page as I wanna. My html code and jquery code like that. Any suggestion for my problem?
$(".artist").hover(function(){
var artistname = $(this).attr("title");
var artist = "<embed hspace...
*I would like to use single a href link to call different functions .
On first click it should call first_function() and on second click it should call second_function. Like toggling between two functions using same link. Suggest the best way to be done.*
Jquery Code :
$(function() {
var IntervalId;
function first_function() {
...
The code of the first function shows three different divs on specific Interval 5seconds (div1,div2,div3).
The code of the second function used to stop showing the divs.
while showing div2 , I clicked the link to stop at that point it got stopped.But after that i clicked it again and it shows div1 (its getting toggling fine) but i would...
Hello
How to make the "< a href" tag refer to nothing?
because I use jQuery
I need to make some anchor taks refer to nothing
I usually write it like this
<a href="#">link</a>
however this refer to the top of the page!
...
Hi!
Can anybody tell me, if I call ex.
var obj1 = $('#element_id')
var obj2 = $('#element_id')
will obj1 refer to the same javascript object as obj2 does, or there will be 2 different objects, having the same HTML element they wrap?
And what about complex selectors, like ('.my_class, .my-class2'), which wrap collection of objects?
...
Hi there,
I have an iframe with id "appframe", the source is page.html and it's on the same server. I want to get the source of the page using jQuery.
alert($("#appframe").contents().find("html").html());
returns <head></head><body></body> even though the document does not contain those tags, it only contains "Default page", so that ...
Ok,
I'm new to jquery and just learning.
I have a bunch of div's that I'd like to have sliding down every 2 seconds or so in one box.
So for example, maybe a picture of an apple, then replaced with an orange, and so on....
Is there a simple way to do this with jquery?
(I don't care about whether the visitors hovers his mouse over the di...
Hello
I have this php code
$ids = array(1,2,3);
$names = array("cat","elephant","cow");
$originalSettings = array ('ids'=>$ids,'names'=>$names);
$jsonSettings = json_encode($originalSettings);
echo $jsonSettings;
and this is the jQuery code
$.post("ajax.php", {},
function(data){
data.ids.each(function(i) {
alert(dat...
I'm doing a eCommerce website, but dealing Javascript is killing me.
For example, for the following page, http://nordschleife.metaforix.net/118/118/index.php/sony.html
It works as intended in Google Chrome, but not in IE or Firefox. For instance, clicking the up or down arrow for products that are down the page (e.g., tenth product) wi...
Hi,
i m new to JQuery...
In my App, i have some 5 divs..while clicking any one of the div ,i want to check whether any other divs have been clicked before...
actually in my code..I have
Text,
Textarea
Dropdown ..
while clicking on Text/textarea/dropdown for the first time i.e..,(i need to check whether any of the others including i...
I don't have any expirience in ajax functions of jQuery. I'm trying to make simple call like:
$.get ("ajaxsupport/login");
I have a servlet with url-pattern ("ajaxsupport/login").
When I type in browser's address field "http://localhost:9090/ajaxsupport/login" I see some result. But $.get (..) doesn't even make a call.
What is the ...
I have tried everything that I can think of. It shouldn't be this hard. Can some one please explain to me the process of using jQuery with WordPress (specifically jQuery Cycle Plugin)?
in header.php I have:
<?php
wp_enqueue_script('jquery.cycle.all.min', '/wp-content/themes/andrewhavens/jquery.cycle.all.min.js', array('jquery'));
...
Hi everyone !!!
I have a problem with the livequery plugin Version: 1.0.3.
Watch this code:
$('#'+$(celDiv).find('input').attr('id')).livequery('blur',function(){
var idProduct = $('#idProduct').val();
var idSupplier = $('#idSupplier').val();
var lotNumber = $('#lotNumber').val();
var idSpecification = $('#idSpecificat...
I am making a table in which you can add aditional rows. When you add a row you can either save it or cancel it, by clicking cancel the row will be removed. It works with one row but when I create like six of them and click cancel the selected row wont be removed but the last row will. Here my Code so far. Does anyone know what I'm doing...
Hi there,
Trying to find the best way of create an overlap/overlay layer to fill the screen .. and then create a new layer on top on load in some html...
// Show popup - somehting like this..
$("#myBtn").click(function() {
$("#myDiv").load("myHTMLcode.html");
});
and then i need a way of remove it
Any ideas, is there an easy wa...
I am having an issue with swapping images in IE6. Works fine in all browser except that one.
Here is the following code:
$(function() {
$("#image1").click(function() {
$(this).attr('src', '/v12/images/small/sm-wall-1-on.png');
$('#image2').attr('src', '/v12/images/small/sm-wall-2.png');
$(...
How do I implement Autocomplete with JQuery when I click on Textbox with out typing anything. The String[] will return a pre built list.
...