I have used Jquery -UI accordion plugin for menu (since it looks neat) and Jquery -grid rails plugin for my data. I have a vertical menu and data on the right side, however the style of the menu disappears and only grid is showing up properly. Anyone faced this issue before ?
...
In the js file of the page, inside $(document).ready(function() {}) I have
$(".school a").live("click", function (e){
e.preventDefault();
....;
jsFunc(param1, param2, param3);
});
Now the div with the class school has tags generated by rails link_to_remote with :url, :action, :before, :html.
On clicking on this link it does...
Hello,
I try to find a FLV player that works with PrettyPhoto (http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/). I was wondering if anyone here can recommend a FLV player that would work with PrettyPhoto. A link to a tutorial would be great, thanks in advance.
...
Hi all,
I'm working with the Jquery accordion. So my code goes like this:
<h3><a href="#">Test </a></h3>
<div class="accordion" style="background-color:yellow;">
<div class="test_1">
my first dynamic content div
</div>
<div class="test_2">
my second dynamic content div
</div>
</div>
So you see the H3 that's th...
hi, im using jquery in asp.net, if i try to use $.ajax functionality, i got this
if i use it in a separate page it works..
when i put it in an ascx and put the ascx out of <form runat="server" >... tags it works
if i put it between <form> tags , jquery works but it doesnt fire $.ajax event
...
Is there a way to prevent the user from selecting a file that is not a specified file type when they browser for the file on their computer? For example, when a user browseses to upload an image file I would for them to only see images (jpg, png, ect.) that are less than 20mb. Is this something that can be accomplished with asp.net mvc...
Hi i have used the jquery cycle plugin to create multiple simple sliding galleries. In Chrome/Safair on Mac the browser is not loading the images.
Here is the link
the js i am using is here, although it could be a css issue..? I am struggling to find the real problem.
$(document).ready(function() {
$('.slides').each(function(...
I got a simple increment function like this:
$(function(){
$("#inc").click(function(){
var value = parseInt($(":text[name='ice_id']").val()) + 1;
$(":text[name='ice_id']").val(value);
});
$("#dec").click(function(){
var value = parseInt($(":text[name='ice_id']").val()) - 1;
$(":text[name='ic...
I got something that I want to do and want to see what you guys think and how can it be implemented.
I got a form in a page and the form will submit to itself to perform some process (run functions) in a class.
Upon clicking the submit button, I want to animate the button text to
“SUBMIT .” -> “SUBMIT ..” -> “SUBMIT …” -> “SUBMIT ….” -...
I used the auto-complete function in jquery. It's data source are the results from a php-back-end.
$("#ice_id").autocomplete("ice-ver.php", { extraParams : { flavour_id: $("#flavour_id").val() } });
Let us take following example:
We type in the flavour ID 3992 ...(and 3992 exists in the database and is properly returned by the php b...
Hi folks, not sure how to do this as ID's are ment to be unique but this is a dynamically series of forms generated from a php array - based on reading the file names in a directory - with the same ID. What I need to do is identify which form so the data can be processed.
Here is the form
echo '<form method="post" action="" id="frmw...
Hi,
i'm starting a new jQTouch-project now and i'm thinking of using facebook connect to make it easier for users to register with my site. do anyone have any experience with this?
I'm using the Facebook PHP SDK (from github), and i first tried to use it with the built in example, it worked good.
i later tried it with jQTouch (the lat...
Hi, so I've got this content loader that replaces content within a div with content from a separate page. But the content that arrives contains a menu that uses jQuery and this is not working. Someone told me I need to reinitialize the code. But how do I do that? I've looked into .ajaxComplete(), but I don't really get how I'm supposed t...
I have written some handlers binding the jQuery .change event to the controls on my page. One of the controls has the ReadOnly=readonly attribute set. The .change event is not firing for just this control.
I have had a Google but can see nothing obvious. Any ideas?
...
Hi guys,
I have a very simple data entry form to implement. It looks like this:
Obviously I have mocked out the actual requirements but the essence is similar.
Entering a name and clicking history should bring up a pop up pointing to the url '/student/viewhistory/{name}'
Name and age are required fields
The sub form (in the mockup...
Is it possible to apply fancybox(or any lightbox alternative) on elements that are loaded by hquery's load() ? If so, how?
...
Hi, at this page new customer, there is some clash between the two scripts. I have been asked to make the content shown when clicking the "ny kunde" button.
This script works fine now, thanks to Voyta.
There is another script made by another person that finds Company CEO information and inputs the data into the fields.
When I put th...
I can't find any good documentation on this suprisingly so I'm posting it here.
What's the raw javascript equivilent to this:
$(elem).click(function(){
alert(this.text());
});
All I can find is this <elem onlick="func()" /> which is not what I want, I want to be able to do it just with javascript not within the context of an elem...
Hi,
How to get Iframe's parent window url using jquery or javascript?
Thanks in advance
...
i think i have read every page google knows about which has these keywords, and nothing works for me.
what i have is a form input, and a button next to it [not submit], and what i want is for the button click to trigger an 'enter' key click. [this will respectively run another function which is already working..]
i've tried
<input id...