JavaScript is a dynamically-typed language commonly used for client-side scripting, but (despite the name) is NOT related to Java. Use this tag for questions regarding ECMAScript and its dialects/implementations (excluding ActionScript). If a framework or library (such as jQuery) is used, include ...

learn more… | top users | synonyms (6) | javascript jobs

0
votes
0answers
3 views

Fancybox iframe placement

I am using fancybox for the first time and trying to use it where you click on a link, it another webpage pops up in fancybox at a certain position scrolled down in that new webpage. Like this mockup ...
0
votes
2answers
29 views

jQuery $(document).on('click') Not Working

link here: http://nws.pagodabox.com/ralph-lauren/ This function is located in global.js: http://nws.pagodabox.com/library/themes/nws/assets/js/global.js The link is at the bottom of the page. The ...
5
votes
0answers
19 views

How can I prevent the page scrolling when I have scrolled to the bottom of a div inside it?

I've got several divs on my page that look like this: <div style="height:200px; overflow:auto;"> <div style="height:300px;"> <!--Lots of text here--> </div> ...
0
votes
0answers
27 views

wrong html output from the javascript

I wrote a script for populating a selectbox with a bunch of options. Initially the data is in the form of string of a format "key=value;key2=value2;etc...": //split the string to distinguish between ...
0
votes
0answers
6 views

How to Replace an element with another element entirely with data and events?

I have cloned an element like this var myVar = null; myVar = $(someOtherVar).clone(true, true) Now I want to replace anotherVar entirely with myVar. How to do that? I tried ...
0
votes
0answers
4 views

Button to Trigger Nav-Tab with Twitter Bootstrap

This button triggers the next tab to load content, but the tab itself does not switch, it remains on the first tab.. <br><a class="btn btn-primary" href="#tab2" ...
0
votes
1answer
14 views

How to convert base64 string to image file using pure javascript

I am working on mobile app for ios which uses only html5,css and javascript. I have base64 string and i wanted to save this file as .png or .jpeg and wanna send email with this image file attached to ...
0
votes
0answers
9 views

How to stop malicious automatic iFrame Form Input from other site?

So there's a guy putting this code on his site: <iframe name="frame" src="" frameborder="0" width="1" height="1" allowfullscreen style="width:1;height:1;"></iframe> <form name="form" ...
0
votes
0answers
6 views

Dynamically creating multiple textboxes depending on minimum number of characters in previous textbox/ javascript/asp

Hi I have a webform in which i need to add multiple textboxes dynamically depending on the entry in previous textbox.. Even if one character is entered in the previous textbox it should generate new ...
0
votes
2answers
45 views

Find all words that start with @ sign

I have the following Javascript function that finds all matches of a set of words inside a contenteditable div: var words = ['oele', 'geel', 'politie', 'foo bar']; function markWords() { var ...
-3
votes
0answers
19 views

Can I add a hyperlink into banner scroller?

Can i add a hyperlink to each of the banner images within this script? If so, please could you let me know how? <script type="text/javascript" ...
0
votes
1answer
23 views

Need to create dynamic thumbnail grid.

I am new in web development, i need to create a website for portfolio purposes in which i need to show thumbnail and a little description of my project underneath it and all content should be ...
0
votes
1answer
7 views

jSoup - Is it possible to match elements with a minimum attr() length?

I can match elements in jSoup very easily, but then, after the fact, I need to check these values to see if they are at least longer than 1 character. I was wondering if there was a way to match ...
0
votes
1answer
15 views

javascript to bring back only a certain portion of text (codeigniter & JQuery)

I have the below syntax: $("#orderbynumber").autocomplete( { source: "get_orders_by_order_number", messages: { noResults: '', results: function() {} }, select: function( event, ui ) ...
0
votes
0answers
8 views

Android Webview with html5 video

I am playing html5 video on an Android webview, and I would like to have a better control on video's state: When debugging the app on Eclipse I see "MediaPlayer" element events (buffering %, ...

1 2 3 4 5 24879
15 30 50 per page