$('.icon1').mouseover(function(){
$(this).find('img').attr('src', 'recursos/botban/maq1.png');
});
Should work right? It's just an arbitrary test to see what was wrong, but it's still broken.
I've also tried with $('.icon1').hover(function(){..., and it also does not work.
What I really want is more like...
$('.icon1').mouseover(...
Hi,
I have 2 textboxes: StartDate and endDate
How can I make so the user will be able to pick from the endDate only the dates starting from the startDate text box and ending 24 hours after the startDate?
I tried this but it didnt work:
$("#startDate").change(function() {
test = $(this).datepicker('getDate');
$("#endDate").dat...
Hi folks,
I'm using JQuery JQueryUI's AutoComplete code. It goes to my url i provide (to find the answers), but appends ?term=<search query> after the url.
I'm trying to get the following url intead ...
/myurl/<term / search query>
eg.
/myurl/abcd
/myurl/hello+world
etc...
is it possible to do this?
Otherwise, it is possible to...
hi all guys,
i was wondering if is online any jquery plugin that help me to scroll page when i'm at bottom of this.
i mean,when i scroll my page to bottom side ,i would like a button that appears and clicking it i can return to the top of page
any suggestions?
really thanks ;)
...
So i have been developing and testing with jquery inline. I am using CodeIgniter - the below refers to my views.
I have <script="text/javascript">JQUERY CODE</script> at the top of my page. Some of my code is dynamic in that it uses PHP vars. E.G when making an ajax call, the URL is preceeded by <?php echo base_url();?>
So now I have g...
I love jQueryUI's dialog boxes. However, there doesn't seem to be a way to dynamically load content built-in. I guess I have to use some other approach to achieve this? Will iframes load content only when they're made visible? Is that the right way to do this?
I'm open to other dialog box mechanisms if they're more suited for loadin...
I want users to enter something in an text field, press OK and then run a function on the value of that text.
I have been looking at jQuery docs, I found keyup which gets the value instantly (not what I want) and the only things I can find about doing stuff with submitted form data involve POSTing the results to a php file or something....
Hi all
I try to create an effect. the problem is the duration of the effect. for my effect I want to pass an parameter duration. this will set the interval in which the effect runs. how is jquery doing this on their effects? I tried with setTimeout but this is quite complicated.
Thanks for any help.
...
What I'm trying to do:
We have one input on the page
We press "add" button and one more input adds after first
On submit we get all their values and add them into an array.
How to add additional inputs on page (with jquery), and then get their contents in php?
...
Hi
I have a list of links with an icon next to it - I'd like to be able to change the icon img source when the mouse is over a link (so that each link will change the icon to a different image) and I'd like to do it with jquery but I can't figure out what's the best way of doing it.
Ideally I'd like to give the links a class so I can u...
Hello guys,
I have a page with two forms. Their ids are "delete" and "add". For the the delete form I also have a small piece of script that on submit asks if I'm sure I want to delete the selected entries:
$('form#delete').submit(function(){
if(confirm('Are you sure you want to delete?')) {
return true;
} else {
ret...
I have a html page with some links. When you click on a link, some jQuery code hides the div container, and shows another div. The originals links, in the first div, are no longer visible.
From the browser (webkit on android) point of view, everything works perfectly.
But if I touch the screen, the hidden links react as if they were vi...
How can I make my jquery autocomplete highlight what the user is typing in in any autocompleted results? The code I am using is:
$("#keyword").autocomplete({
source: "ajax/autocomplete.php?action=keyword",
minLength: 2
});
Tried this implemented from the link tomasz posted:
$("#keyword").autocomplete({...
Hi.
On one of my content pages, I'm using the jCarousel and Fancybox JQuery plugins.
The problem is that only one of them works at a time, so I think there must be a conflict.
This is the code used:
<script src="js/jquery.jcarousel.min.js"></script>
<script>
jQuery(document).ready(function() {
jQuery('.showcase').jcarousel({
...
my code and my problem is:
<script type="text/javascript">
$(document).ready(function() {
// this variable is used to set the dynamic elements
tagFlag = '';
$("#a1").click(function(event) {
event.preventDefault();
tagFlag = 'me'; // setting the element which I want to trigger later
});
$('#'+tagFlag).click(funct...
i want to display suggests like
STREET NAME > CITY > COUNTRY (4 different varaibles street,city,country,url that i get in json from the server)
and when i chose one it will go to url like a link
and will highlight the letters that i type that found in the suggests
how can i do it?
here is my code
<script type="text/javascript">
$('#...
I got a function in javascript that first checks if the username is the required length and than sends the username to a page for a test if the test is a success there will be a
<span id="username">true</span>
else
<span id="username">false</span>
I keep getting an error that getElementById doesn't exist on the return data
function...
I am looking for Jquery datepicker control like ajax calendar control with image button next to text box in asp.net.
If any examples available please share with me.
I saw this http://www.west-wind.com/weblog/posts/891888.aspx, but I donot custom control.
...
Hi,
I have a script which allows users to sign up, which imports data into a MySQL table.
user_availability.php
http://pastebin.com/PSRndXbq
number.js
http://pastebin.com/iYAPuwN7
This script will tell the user if that number is present in the table. However it continually says its not in the table despite it being in there (looking...
I have a list of Area objects that I'm displaying in a Facebook application. I would like to have a link for editing them, next to each row. I would like the form to appear in a <fb:dialog>, so I created the following partials:
# _edit.fbml.erb
<% fb_dialog("edit_area_#{@area.id}", false) do %>
<%= fb_dialog_title "Edit area" %>
<% fb...