15,127 Topics
![]() | |
Hi everyone, I'm making my first jQuery mobile app and using a fixed bottom navbar. But the app is acting a little weird. When I tap the background twice, the navbar disappears or moves up a little. how can I fix this problem? | |
I have the show/hide table rows function working great now (thank you), but I am having a problem with using the back button. If someone has yes to one of the items (yes/no radio buttons) the onClick event in the input tag causes the appropriate info to display. BUT when … | |
Hello! I want to ask your help so I could now continue developing my first Win 8 app using HTML5/JS. The current app I have, has 5 questions per set with 4 choices. But I want to have a customized choices for each question. For example, 1.) Capital city of … | |
Hai Everybody, i have did multiple image uploader(max 20 images). the uplaoded show in 3 different groups. group 1:first 2 pics group2: after 3 pic group3: after 4 pic again start group1 anybody plz help me. var c; var pCrop; var crop_api; var rotate = false; var temp; var tempZIndex; … | |
I have a simple jQuery code for toggle. I want to apply it in multiple <div>s as more I need. here is the code: <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> <script> $(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle(500); }); }); </script> <style type="text/css"> #panel,#flip { padding:5px; text-align:center; background-color:#e5eecc; border:solid 1px #c3c3c3; } #panel { … | |
Hi guys, I have an ideea of doing 3 form validations from one file The content of the file is //detalii 1-categorie var categorie = new Validator("categorie"); categorie.addValidation("add_categorie","req","Va rugam sa va completati categoria"); //detalii 2-subcategorie var subcategorie = new Validator("subcategorie"); subcategorie.addValidation("add_subcategorie","req","Va rugam sa va completati subcategoria"); //detalii 3-continut var continut … | |
I have String. Var Str = "INC300051546,INC300051553,INC300051561,INC300051579" I want to check there should not be seperator other than comma in the string. And Comma Seperated String should contain INC as 1st three character and after that 9 digits followed by comma. Is there any regular expression to validate the string. | |
Hi, I'd playing with JavaScipt nowadays. I'm trying to display the selected value in a dropdown list (those values are the array elements). Here is what I've tried so far: <html> <head> <script type="text/javascript"> window.onload = function() { var artists_arr = new Array(); artists_arr[0] = "The Beatles"; artists_arr[1] = "The … | |
well I've been searching for this from hours now, and also tried to look in this forum. or maybe I dont know what is it called. I'm searching for a script to display featured products on my website, in a sqaure box on right side. but it shouldn't be so … | |
hello, i am sofie. here is my code. <tr><td><label for="Cname"> No of Partipants:</label></td><td> <select style="width:160px;" id="text" name="participants" required="required" > <option id="" value="" name="">-Select participant-</option> <option id="1" value="0" name="" >1</option> <option id="" value="1" name="" >2</option> <option id="" value="2" name="">3</option> <option id="" value="3" name="">4</option> <option id="" value="4" name="">5</option> <option id="" value="6" name="">6</option> <option … | |
I've implemented this dialogue box that shows a preview of the site you're abuot to go to. All looks good until I add more links on the same page. I've tried to adjust my div from absolute to whatever and have also fiddled around with the top - left spacing … | |
I've got a website with a splash page where users select one of two languages in which to access the page, and have the option of ticking a "remember me" checkbox, which would write a cookie. On subsequent visits to the splash page, the cookie would be read, and the … | |
Hi peeps, quick question. I am debugging a script in IE (it's producing errors and I suspect it might be down to the selectors) and I was wondering if the below is correct. Guven the following html <div id="fruit_filter"> <h1>Compare the Toyota range</h1> <div class="filter_checkboxes"> <h2>fruit type</h2> <form id="first_filter"> <input … | |
hi everyone I have created one web page for website, these having four main Div but i have to do Show Div and Hide some Div using javascript or jquery in css. **Four main Div are:-** 1) **header** 2) **banner** 3) **Content** 4) **footer** :- on the website two div … | |
actually i want to compare pass1.value with pass2.value...dis is my code please check it.. <html> <head> <script type="text/javascrpit"> function myFunction() { alert " pass1.value"; var x=document.getElementById("pass1").value; var y=document.getElementById("pass2").value; if(x == y) { alert "password matches"; } else { alert "password dosn't matches"; } } </script> </head> <form name="mailform" method="POST" action="#"> … | |
Hi all, I am trying to create an horizontal menu with an horizontal submenu and I would like to leave the submenu opened after a click. Unfortunately I am not so good in jQuery and I need some help to create it. Here is the link with the code + … | |
Hi. In March current year I started learning html, css, php, mysql, and a month ago started with Javascript. I have a webpage that I am working on to have practical tasks for finding solutions to them. I have created a Javascript code that colores the rows of a table … | |
Hi all, I'm about to get a little long winded here and I'm sorry for that but I have a couple of issues that I need guidance with. I have assembled a procedure that basically performs a bunch of web browser clicks to query Statistics Canada (SC). The query itself … | |
Hi. I have a javascript code inserted before closing tag </body> that is meant to change the color of a table row when the mouse is placed over it. It works only when I remove the css file. Please advise what is the problem, I need them working together. The … | |
hi, I am new to javascript learning. I just want to know the detail explanation of this code given in w3schools. http://www.w3schools.com/js/tryit.asp?filename=tryjs_lightbulb I know method match() works for finding match. But I can not understand the function. I have knowlege of C. Know if...else, while loop, for loop and the … | |
Hi guys, A quick problem that I'm facing with a return method. I've created a page for a friend with a questionnaire and i am validating all the radio buttons, this works nicely. When i want to verify the input fields of text type, it alerts me but the return … | |
Hey there, I'm just having a tiny problem with this function. the toggle function works fine but what I want to do is to display the date whenever particular buttons are clicked or active. function showDate(element){ if(element == "#selection3" || element == "#selection4"){ document.getElementById("dateinput").style.visibility = "visible"; }else{ document.getElementById("dateinput").style.visibility = "hidden"; … | |
how do you validate a form soo there is no alerts all i need is image and words to display next to the text box when something incorrect has been typed in | |
I'm having trouble with this code. Whenever i clicked the button to show the hidden text, it displays the text but only like for 1 second and hides again. Am i missing or something? $(document).ready(function(){ $("h3").hide(); $(window).load(function(){ $('#loginbutton').click(function(){ $("h3").show(); }); }); }); | |
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 … | |
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'; } … | |
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? | |
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 … | |
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! … ![]() | |
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... … |
The End.