473,544 Members | 1,928 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
2
1,650
thread by: jay123 | last post Jun 21 '13 by: jay123
I am using ajax call to populate data in my dropdown using Typeahead, now the HTML Typeahead creates for every row in dropdown look like <li class="active" data-value="xx"> <a href="#"> my Text </a> </li> My requiremnt is to have some value in anchor tag where when user clicks on dropdown text, it takes user to new page. Can anyone point...
0
1,361
thread by: vijay2591 | last post Jun 20 '13 by: vijay2591
I have crated tab link menu in ""Magento header""...when click on link color will change and after click on another link color change and previous link color back to original...I have created javascript and css please look ..this code work fine when we are not providing href link Thanks in Advance HTML code::<ul id="navigation"> <li><a...
3
1,268
thread by: design | last post Jun 19 '13 by: gits
Please can you advise how to adjust the frequency a flash video plays each time the same visitor visits web site.
2
1,273
thread by: anand1287 | last post Jun 14 '13 by: gits
i need to add class to dynamically created span tags so that i can highlight it for some duration of time and then i need to remove it from this span and add class to other span tag.. In short u can say add class and remove class should continues based on time on each of the span tags.. example: <span>some text1</span><span>some...
6
1,699
thread by: waqar100 | last post Jun 12 '13 by: waqar100
In Code behind we have already a method which will sort the grid,when a user click on the header of the grid,as image is attached. strHeaderCaption = "<div onmouseup=""igtbl_headerClickUp2(event,'ReportGrid1xgrdReport');"" style='width:" & (headerItem.Column.Width.Value - 3).ToString & ...
1
1,593
Claus Mygind
thread by: Claus Mygind | last post Jun 10 '13 by: Dormilich
The function below takes a string and highlights the text within the string that matches the search criteria. It works fine unless the user includes the + sign. Then this line var re = new RegExp('(' + searchStr + ')', 'gi'); generates a "SyntaxError: invalid quantifier" So obviously the + has to be escaped \+. Can that be added to the...
1
2,320
thread by: Kami | last post Jun 10 '13 by: gits
Hello, I have the following RSS feed: RSS Feed I load this feed like this: file: rss2.php <head> <link rel="stylesheet" type="text/css" href="rss.css" media="screen" /> </head> <body style="margin: 0px;">
1
1,364
thread by: gopalsareen | last post Jun 10 '13 by: Rabbit
i have created a code which post a uid to a different server on confirm dialog click and on button click it works fine the code below for confirm box: function andpop() { var qes = confirm( " " ); if ( qes ) clicked( '1135' ); }
8
19,966
thread by: sandyyyy35 | last post Jun 7 '13 by: hemal8888
<html> <title>JavaScript: Select All</title> <body> <center> <form> <textarea name="text_area" rows="10" cols="80"> blah blah blah blah blah blah blah </textarea> <br> <input type="button" value="Highlight Text" onClick="javascript:this.form.text_area.focus();this.form.text_area.select();">
1
1,660
thread by: sandyyyy35 | last post Jun 7 '13 by: gits
is it possible to make a simple text list by selecting it and onclick make it to convert into a ordered bulleted list. if yes please write a JavaScript for that.
0
1,569
thread by: Ankit Goswami | last post Jun 6 '13 by: Ankit Goswami
i am having problem with my site when user is idle for some time then before 3 mints session getting expired one popup will come and will ask if you want to renew your session then click ok or else cancel.so when i am clicking on ok we are getting response from the server but after that we are not able to click any of the link. could you please...
0
1,308
KeredDrahcir
thread by: KeredDrahcir | last post May 31 '13 by: KeredDrahcir
I needed a slide show that showed an image wider than my browser window so that at higher resolutions to image would still fill the screen. To prevent getting scroll bars on a lower resolutions screen, I decided to do it as a background image and since I had five images that I wanted to show in a slideshow I found a background image slide show....
1
1,310
thread by: sandyyyy35 | last post May 31 '13 by: Dormilich
In this code i have placed a javascript for calculating numbers, total and %age. But when i am using form the javascript calling is not working, is there any solution...... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">...
3
2,982
thread by: sandyyyy35 | last post May 30 '13 by: Dormilich
hi, Please provide me the solution for the coed i have provided below, as i want to display a result in average id box at the main webpage. while entering the values. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">...
1
1,360
thread by: new2js | last post May 29 '13 by: Dormilich
I am totally new to Javascript and I have tried learning the basics but I am trying to do something advanced which I am struggling to understand - I want to create something that will give me a datetime stamp and the comment the user has given for example the form will show a Reference and Name and the user will input their intials and comment and...
5
1,420
KeredDrahcir
thread by: KeredDrahcir | last post May 27 '13 by: Dormilich
I have a simple form with nine checkboxes on it. <form id="equipment" name="equipment" method="post" action="my_page.php"> <input type="checkbox" name="lager" value="1"/>lager<br/> <input type="checkbox" name="curry" value="1"/>curry<br/> <input type="checkbox" name="beer" value="1"/>beer<br/> e. t. c. </form>
0
1,644
thread by: baokhang262 | last post May 27 '13 by: baokhang262
Hi! I have a problem when I use javascript: <script type="text/javascript"> function linkSelected(sender, args) { try{ sender.get_masterTableView().fireCommand("Page","First"); } catch(Error) {
3
1,751
thread by: malika | last post May 26 '13 by: Oralloy
hi everyone my question is that i get the number of tables which according to the user input in the texbox but when i perform computation in first table mean addittion of first three column give me result in fourth column but in second table i dont get the result.i have used the javascripting plz help me if anyone knoes the answer javascripting...
5
5,406
thread by: visky | last post May 23 '13 by: Rabbit
I have dynamically loaded a page,in that i have two <div> the required values or the datas displayed in the one <div> or iframe and values passed using forms post methods to another file.that should reflect in another div or iframe as a result. Please help me to solve this.... Thank u
1
3,811
thread by: catch93 | last post May 21 '13 by: Dormilich
I am trying to use jsawk to parse a json output. When I run the version that I downloaded from this location: curl -L http://github.com/micha/jsawk/raw/master/jsawk > jsawk When I run the command jsawk, it tells me it needs the js interprester Is there a js interpreter standalone available for LINUX I am new to java, javascript..
1
3,056
thread by: saranya sukumar | last post May 15 '13 by: Oralloy
Hi, I need to sync with my server with the client certificate (abc.pfx) which is generated by the server using ajax. How do I send my certificate with ajax object. Can I do this certificate authentication with java script?
1
1,650
thread by: asifbashir | last post May 14 '13 by: Dormilich
I am creating an App for iPhone using JavaScript. I have an array of images, let say img ,and a place all these images on screen i want to add action listener to each image. Each image has to perform different functionality. I am using this method for(var i=0;i<img.length) { img.addactionlistner('click',function(e){ //Print the index...
2
44,400
nirmalsingh
thread by: nirmalsingh | last post May 14 '13 by: omtech
hai all, i am having 2 pages. login.html and city.html login.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title>
3
1,355
thread by: hrstissiaopai | last post May 14 '13 by: Dormilich
I need to make a script that can modify the already existing header tag. So in the <header> it says "Original Content" and I need to change it to "new content". I have to do that using the <button> tag and an event handler, but I have no idea what to use after the onclick. I also have another button that has to delete the text of the <header>. Is...
3
1,434
KeredDrahcir
thread by: KeredDrahcir | last post May 13 '13 by: Rabbit
I've have two divisions and I have a question and if the answer is yes I want to hide the first division and show the second. If the answer is anything else I want to hide them both. <div id="title" style="display: block; width: 900px; height: 475px; margin: 0 auto;"> some content </div> <div id="instructions" style="display: none; width:...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.