-5
votes
3answers
42 views

Javascript to check the age

How to write the javascript, ie., if user submits the form after fill the required blanks, javascript should check for age from the current date ie., if user is above 15 years then only form should ...
0
votes
0answers
8 views

Event to capture every render of MagicSuggest box

I am applying CSS to the 'selected item' boxes of a Magicsuggest box, each time the 'selectionchange' event is fired. However, it appears these boxes are re-rendered every time the input div loses or ...
0
votes
2answers
22 views

JavaScript coordinates showing as greater than the image width and height

I am trying to get the location of the mouse while hovering over an image in pixels from the top left corner of the image. I am currently using the pageX and pageY event attributes but this is ...
1
vote
1answer
16 views

Titanium Pass Textfield Value to New Window

I am attempting to take the value of a textfield and pass it to a new window (Javascript file) using Ti.App.fireEvent ...
0
votes
2answers
26 views

Numeric input validation

I am doing validation on an input type='text' element. I have wired up the 'paste' and the 'keydown' events to trap the input and restrict it to just numbers. The keydown seems to work without a ...
0
votes
2answers
35 views

How do I check if any Javascript event has been fired, anywhere?

I came across this question: How to find out which JavaScript events fired? But, that method of using Firebug will help me only if I log the events of a particular element right? Here's my ...
0
votes
1answer
32 views

Javascript events and recursion issue

I am using jQuery Dialog to load other pages into a dialog on the main page. The other pages may have anchor tags, and I am using the completed event of the load function to select all of the anchor ...
0
votes
1answer
31 views

Perform an action when an li is the last in the ul

So have this http://jsfiddle.net/mDfQT/15/ <ul id="variants" data-size="0"> <input type="text" id="some_name" class="some_name" placeholder="category name"> </ul> <a ...
-1
votes
1answer
46 views

Need to get first child a and create a click event with the result

I am trying to create a JavaScript program that looks through a DOM to find the first <a href> which is NOT a mailto: - it needs to be a 'real link' and return the href value. I then need the to ...
0
votes
0answers
29 views

Java WebEngine.executeScript not working for forms or button clicks

I am trying to click a button using Java FX's class, WebEngine. I am able to interact with the page to do other things, like read from a text box using the following: ...
1
vote
2answers
45 views

The best way to add eventlistener to an element

I'm trying to find the most productive way to hanging event. Lets imagine we have this structure: <ul> <li> 1st li </li> ... <li> 99999th li </li> ...
2
votes
1answer
29 views

How can I access the super of the super class in JS?

The code is pretty explanatory. What I am doing is wrong. How can I access the a property of the A object in the onclick event of an object declared inside of an A object method? function A(){ ...
-2
votes
0answers
36 views

how to hide title text on mousehover and display data from database

I'm working on lightbox to show data from database in lightbox pop. I display data from databse in lightbox through title tag. My code is perfect and show all data from database actually, problem ...
0
votes
1answer
18 views

EmberJS loading child records

I am trying to load a list of responses for a post(a post hasMany responses). It does not feel right because I do not have routes or controllers for responses(I create responses via a function in ...
0
votes
0answers
21 views

How to make multiple tr function in JavaScript/Rails?

I am working with Rails, and using JavaScript as well. I am having trouble getting Javascript function for the multiple tr in my table. I am using bootstrap to display my modal and everything works ...

1 2 3 4 5 450
15 30 50 per page