15,688 Topics

Member Avatar for
Member Avatar for ssfox

Hello Every one, Im trying to modify the following code so it can save for multiple edited text while at the moment this code only saving one (first) edited text ... could anybody please modify this code for me say for example: you modify it to save 3 or 4 …

Member Avatar for ssfox
0
364
Member Avatar for hlamster

I am trying to toggle rows in a table based on the selection of a radio button. The functions is as follows: <script language='javascript' type='text/javascript'> function showHideRows(clsName, hideshow) { var table = document.getElementById('fullTable'); var rows = table.getElementsByTagName('tr'); for(var i=0;i<rows.length;i++) { if(rows[i].className != clsName) continue; if(hideshow='hide') { rows[i].style.display = 'none'; } …

Member Avatar for hlamster
0
608
Member Avatar for divyakrishnan

Hi.. I used following regular expression "/^[0-9]{1,2}\-\[0-9]{1,2}\-\[0-9]{4}$/" for email validation. It won't check the mail id like "testmail@gmail" . It will work "testmail@gmai" Can anybody suggest solution for this?

Member Avatar for pritaeas
0
80
Member Avatar for cali_dotcom

i have a php application where users can apply for a bonus. but there is a confirmation page before the bonus redemption code runs. the issue is that in IE, if you hit f5 right after you click the continue button, the confirmation page refreshes while the bonus redemption code …

Member Avatar for pritaeas
0
755
Member Avatar for cigoL..:)

Hi guys! I don't know if i post it in the right forum page, but I would like to ask if it's possible to put color on the last row of your table (LAST ROW ONLY). the data is from SQL. I would appericiate any references or links, snippets, anything! …

Member Avatar for diafol
0
106
Member Avatar for code739

Hi fellas, i have this situation i have an field that ask for a mobile number like: `Mobile number <input type="text"/>` now i want that instead of the input type, the user could choose a certain mobile code like +63 and its prefixes or is there any librirary for this... …

Member Avatar for radow
0
63
Member Avatar for alanlee9898

Hi, I wanted to create a progress bar with the jquery modal when it's downloading. How I can do it in jquery / Ajax ? I was trying with this http://johnculviner.com/post/2012/03/22/Ajax-like-feature-rich-file-downloads-with-jQuery-File-Download.aspx , but not working. The code for the download link : <a class="download" href="${cmd.fileUrl}"><span>CSV</span></a> It's using url to download …

Member Avatar for alanlee9898
0
559
Member Avatar for tibormarias

Dear Sirs, I have been playing around with this so far, and couldn't get a good solution. Well I have my simple code : <html> <body> <a href="#" onClick="document.write('P');>P</a> <div id="a">a</div> </body> </html> Well, normally, this onClick event directs us to a new empty page showing a 'P'. I want …

Member Avatar for JorgeM
0
1K
Member Avatar for nagachaitanya

<!DOCTYPE html> <html> <head> <script> function formSubmit() { document.getElementById("frm1").submit(); } </script> </head> <body> <p>Enter some text in the fields below, then press the "Submit form" button to submit the form.</p> <form action = ""> Auth: <select name = "Auth"> <option value = "Server1">Server-1</option> <option value = "Server2">Server-2</option> <option value = …

Member Avatar for JorgeM
0
150
Member Avatar for eburlea

Hello. Please advise what is wrong in the following code that align and border attributes change when mouse is over the table, except the background color. <table id="myTable" width="200px" cellpadding="0px" cellspacing="0px"> <tr> <td>One</td> <td>Two</td> <td>Three</td> </tr> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> </table> <script> myTable.onmouseover = function(){ myTable.setAttribute("align","center"); myTable.setAttribute("border","1px solid"); myTable.setAttribute("bgcolor","#FF0000"); …

Member Avatar for eburlea
0
24K
Member Avatar for DrChocolate

Dear Everyone, I have a functional instant search (in draft at [Click Here](http://www.woofwoofwoof.org/is08/search.htm)). I want the search to function very similarly to Google. This will help sighted people figure it out, and bring me much more in compliance with accessibility standards. Unfortunately, I'm missing two "Google-oid" features: . 1) **How …

Member Avatar for Airshow
0
346
Member Avatar for raul8

Using Ajax after an year...please tell me what I'm missing: JSP/Ajax File: [CODE]<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <script type="text/javascript"> function login() { var xmlhttp; var username = document.getElementById('username').value; var queryString = "username="+username; …

Member Avatar for i_M_patil
0
249
Member Avatar for jacob21

I want a Jquery Popup Form which will appear on Page Load but only one time (for newsletter purpose). After filling form.. I want to store values into a table.

Member Avatar for dean8710
0
85
Member Avatar for Gobble45

Hi all, I am setting up a registration form for a website im building. When the user enters his/her information i would like to validate that the Username/Email aren't already in use. At this point in time ive got my mind set on a function that runs 2 seconds after …

Member Avatar for Gobble45
0
495
Member Avatar for Tko_1

Not mine but has been usefull so thought i would share. <script type="text/javascript"> function toggleMe(a){ var e=document.getElementById(a); if(!e)return true; if(e.style.display=="none"){ e.style.display="block" } else{ e.style.display="none" } return true; } </script> <input type="button" onclick="return toggleMe('para1')" value="Toggle"> <div id="para1" style="display:none"> blah blah blah blah blah blah blah blah blah blah blah blah blah …

Member Avatar for Troy III
0
206
Member Avatar for jeffcogswell

IE9 is on the horizon, and there has been plenty said about it. But what about its web development aspects? In this article I look at its web developer tools, and decide whether I'll start using it in my own web development. Like most web developers, I abandoned IE several …

Member Avatar for fiascolabs
2
1K
Member Avatar for EonsNearby

My team and I are tasked with making an interactive animation, that teaches college students about DNS cache poisoning, and host it on a website designed in HTML5. The interactive animation needs to be viewable with all web browsers and without requiring any plug-ins or downloads (e.g. Flash cannot be …

Member Avatar for Taywin
0
105
Member Avatar for millsy007

Hi I am using some code to validate uk postcode. I was wondering how I could make this work with AJAX so that the check is carried out on entry. Here is what I have so far: <form name="postcodeform" method="post"> <input type="postcode" /> Postcode<br /> </form> function IsPostcode($postcode) { $postcode …

Member Avatar for Taywin
0
374
Member Avatar for Buppy

Hi, I have the following HTML: <ul> <li> <div>Something</div> <ul> <li> <div>Something</div> <ul> <li> <div>Something</div> //more lists can come </li> <li> <div>Something</div> </li> </ul> </li> <li> <div>Something</div> </li> </ul> </li> <li> <div>Something</div> </li> </ul> The list can continue endlessly and the count of sublist is unknown (user defined). Is there …

Member Avatar for stbuchok
0
112
Member Avatar for code739

Hi guys i have a problem here i have and input type file which will be containing an image file <input type="file" onchange="validate(this)"/> now my code below work in its extension detection but if it is invalid the input file still have i value i want it that if the …

Member Avatar for code739
0
3K
Member Avatar for Khav

Hi Guys , i started experimenting a little bit with javascript . I want a javascript dialog that ask user to delete a file.Buttons should be yes or no.The javascript should load as soon as page load **No button is used**. Can you please post a sample code for it …

Member Avatar for Khav
0
3K
Member Avatar for Thropian

I'm using HTML <embed> to play music in the background on a site, and I have a list of songs I'd like it to play. Is there some way to detect the end of the song and start the next? document.body.removeChild(soundEmbed) soundEmbed = document.createElement("embed") soundEmbed.setAttribute("src", "Music/"+Song) soundEmbed.setAttribute("hidden", true) soundEmbed.setAttribute("autostart", true) …

Member Avatar for Thropian
0
194
Member Avatar for rayidi

I want to store my array into my database using jQuery. Here is my code i'm using serialize(); function. Its storing correctly but when i unserialize(); nothing happening. Please help here is my code. <script> $(document).ready(function(){ $("#save-skills").click(function(){ var skills = $('input[name="skills[]"]').serialize(); console.log(skills); $('#loading').css('display', 'block'); var queryString = "skills=" + skills …

Member Avatar for diafol
0
213
Member Avatar for marvolo1300

Hi, I am new to javascript. Syntactically, this code seems correct, but for some strange reason, it refuses to execute. I know it's bad practice to include the script within the same document, but I just want this to work. Thank you in advance. <!DOCTYPE html> <html> <head> <title> Test …

Member Avatar for rayidi
0
131
Member Avatar for Rizi004

i m developing website everthing is ok but their is one error due which my list of category is not showing the error is below given. SCRIPT438: Object doesn't support this property or method eval code (1), line 1 character 12458 this error come in jquery file waiting for your …

Member Avatar for rayidi
0
71
Member Avatar for keven.pirritano

I can't get this jQuery to work in Fire Fox. I have been told it works in Oprea and IE9. I also know it works in Chrome & Safari. // JavaScript Document $ (function () { $('#filterBox1').change(function() { // when value of filterBox1 changes var selection = $(this).val(); // get …

Member Avatar for keven.pirritano
0
153
Member Avatar for Hemanth.Satkuri

Hi, I have a desktop app in Swing. Now i want a javascript function like mailto when I click a JButton. Please help or provide any suggestion on my approach. Thanks in Advance. :)

Member Avatar for Hemanth.Satkuri
0
102
Member Avatar for keven.pirritano

I have a basic idead of jQuery and can do some basic stuff, but I can't figure out how to do the following: I need jQuery to do the following function when you SELECT an option from a form Dropdown selection... When a person selects PS3 in drop down it …

Member Avatar for pritaeas
0
213
Member Avatar for NoIdea.Net

Hello people! I have a strange problem in the code below. It runs fine with the new value being use/displayed but on all the following executions it will onbly use the values from the first run whatever you type in. Any ideas? Thanks <script type="text/javascript"> function showEthnicityDialog(eth_desc, eth_code, id) { …

0
91
Member Avatar for vishalonne

Hello I am learing Jquery I want to display the Text from select box using the Jquery code. When will I click option from hotel1 then only selected text from hotel1 shall be printed and when I will select any option from hotel2 then only select option from hotel2 shall …

Member Avatar for pritaeas
0
366

The End.