Tagged Questions
jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.
0
votes
0answers
12 views
How do I have an external widget load upon clicking on an li in a list?
If I have a list item like this:
<li class="" id="view_ideas"><a href="#"><span>View ideas</span></a>
And I want to have it load the following Get Satisfaction Engage ...
0
votes
1answer
19 views
How to trigger the enter keypress
I need to know how to trigger an enter key on an input. That is, in response to some other event (not a keypress), I need to trigger a keypress of value 13.
(Clarification, I do not want to trigger ...
0
votes
0answers
25 views
How to make my menu links clickable
I have the following page: http://pastebin.com/sJAN1jkk which contains a dropdown navigation menu, consisting of several unordered lists.
The dropdown part of the menu, works without issue, the ...
0
votes
0answers
5 views
Is it possible to assign jQuery.fn.click to jQuery.event.special.tap?
Any ideas why we can't assign the default click-event from jQuery to an custom-even? Or further, how we can do it.
For example, if we try to do something like this, it will not work.
...
0
votes
3answers
32 views
jQuery Looping through Array and finding the not selected items
My CodePen: http://codepen.io/leongaban/pen/IGcBa
I have an Array which contains 5 items:
var home = {
faqmenu : ['faq-general',
'faq-protecting',
'faq-search',
...
0
votes
0answers
5 views
Restore anchor default event after event.preventDefault()
So I'm using flexslider for my image slider. Long story short, I have added another list item to the end of the list of anchors that you click to go to a certain image in the slider. The list item I ...
0
votes
0answers
8 views
Passing javascript function parameter to Twig Path filter
recently I started to use Twig as template engine and I need to do something like this:
var getEmail = function(value){
$.get( {{ path( 'user_validate_email', { 'email': value } ) }} );
};
by ...
0
votes
0answers
17 views
jQuery get sent data back
how to get data back when using jQuery.get method ?
function send_data(pgId)
{
for(var i = 0; i < pgId.length; i++)
{
// $.get(url, data, success(data, textStatus, jqXHR))
...
0
votes
0answers
6 views
moving onchange to a listener - dynamic fields
I have a list of tabular items, each having a select box with an onchage event to fire a popup within a nested slide-out div. the code looks something like this where XXXX is the ID. These rows ...
0
votes
0answers
7 views
Jquery Sumbit form after Ajax Success
I have a small problem with a form, I'm basically trying to send a form after an Ajax success but does not work. The form is not sent ... If anyone can help me I would be a great pleasure.
jQuery( ...
0
votes
0answers
26 views
Script Execution with .load()
I have a form inside a DIV (normally the div is hidden using "display:none;")
The user open the DIV with: onclick='$("#Details").show("slow");
Fills out the form and save the data.
I don't want the ...
0
votes
5answers
48 views
CSS3 Selector That Works like jQuery's .click()?
I've been using a pure CSS navigation for a few years now, and lately we've started building a bunch of mobile sites at the company I work for. I'd really like to keep using pure CSS, and note rely on ...
2
votes
0answers
9 views
Add javascript/Jquery in Vaadin 7
I want to know how to add Javascript/JQuery in Vaadin 7. It seems easy in Vaadin 6. But, I couldn't get it working in Vaadin 7. I hope they would have made it more easy now. Can anyone show me some ...
0
votes
1answer
22 views
ASP.NET MVC Checkbox List Validation
as of right now I am validating checkbox list in the model by overriding the IsValid function so it will get validated on the server-side, but I was wondering if there's a way to add validation on the ...
0
votes
0answers
10 views
jqueryui - mouseMove function IE condition understanding
In my jquery-ui draggable I have this -
....
_mouseMove: function(event) {
// IE mouseup check - mouseup happened when mouse was out of window
if ($.browser.msie && !event.button) {
...