473,543 Members | 3,135 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.
5
2,173
thread by: Monomita Har | last post Mar 6 '13 by: Rabbit
I have a form where I use some field validations which shows messages if getting errors or corrects.At bottom there is a reset button to reset all previously input data and javascript messages also.My reset button cant be able to remove javascript messages from page.Can anyone guide me? <?php /*?><?php session_start(); include "config.php"; ...
2
2,141
colinod
thread by: colinod | last post Mar 6 '13 by: colinod
I have built a Jquery horizontal sub menu which gets data from asp and works fine in all browsers apart from IE, in ie when you hover over main buttons sub menu appears and when you move uver the sub menu it moves up a few pixels... really annoying?? Im sure its in the css somewhere. CSS code <style> body { background-color: #000; }...
1
1,994
thread by: vignesh gopi | last post Mar 5 '13 by: Dormilich
hey all.. am new to this forum ... without wasting any of us time , let me directly enter in to the question .. we have a lab exercise in our college based on DHTML filters and transitions ... previous exercise is full of html.. so its been very easy for me to expertise it. but when it comes to filters and transition i got plenty of doubts...
1
1,600
thread by: VaibhavIshapy | last post Mar 5 '13 by: acoder
The Textboxes are being generated at runtime ....they will get generated until the user fills the value in the preceding textbox and press enter. The values in the all textboxes need to be stored into the XML file so that the data can be transferred to SQL at once .(no need to hit the database again and again for better performance)/
1
1,362
thread by: jsungmin | last post Mar 5 '13 by: acoder
hye all.. I want to create a javascript function which display an alert(""); if all value of the text field is null. any idea? :) sungmin .
3
1,200
thread by: starlight849 | last post Mar 5 '13 by: Rabbit
I would like to recreate the images collapsing as shown here http://www.3ds.com I'm not sure what would be the best way to go about this. Could anyone point me in the right direction?
2
1,512
thread by: shravan88k | last post Mar 4 '13 by: gits
I am trying to fetch a dynamic variable something like eval("variable" + number) On IE this evaluates fine. But Safari returns null every time! I also tried window
5
1,551
thread by: massimassi | last post Mar 4 '13 by: Rabbit
Hello, I need to change the "name" part of the <input> of a form accordingly to an option selected from a dropdown. Please refer to the code to understand what I mean. The form is something like this, with a submit onchange <form id="myform" method="a_method" action="an_action"> <select class="field" name="name_of_select"...
10
2,134
thread by: oooo | last post Feb 28 '13 by: oooo
I am trying to modify the script below to slideshow/rotate through a handful of text DIVs. I need these DIVs to appear in order-- div 1, then div 2, then div 3. Each would appear for 5 seconds, then show the next div... but in order. The script below works well for Random divs, but I need them to be in order-- div 1, div 2, div 3... each...
1
1,530
thread by: Luda | last post Feb 26 '13 by: gits
I have an html form with fields, dropdown select box and check box. I need to pass that field values from client side to the server with webservice I have
2
1,835
thread by: Trisha8 | last post Feb 19 '13 by: Rabbit
i am newbie to ajax. i am trying to run one example from w3school http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_first but it is not working. can anybody help me? thank you in advance.
1
1,693
thread by: himabindu11 | last post Feb 19 '13 by: Rabbit
Hi Every One I am beginner to Php so i have a small question that is i want to submit the page to database without using the submit button i have select fields in that page so upon selection the data should be inserted in to database can any one help me for this .. Thanks in advance
3
1,748
thread by: buntybutt | last post Feb 18 '13 by: gits
Hello there I have a code which is not working and I wonder whats the problem, need little bit of help here is the code<style type="text/css"> /* <!]> */ </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"...
1
1,182
thread by: dada1 | last post Feb 18 '13 by: gits
I was wondering is there any way to make some html element like div, image map or any other linkable elemente to fill only specific amount of pixels. Example. If I click within document I will get coordinates of my click (it could be 100x100) and than if I want 23 pixels to be filled and linked somewhere around that area. Is it possible? But...
2
1,379
thread by: SHENOSTO | last post Feb 17 '13 by: Rabbit
was using ie as my search engine , had to many sites not working, so i switched to foxfire . i want to add ixquick as my search engine, i went to a site to do this and it said my broswer does not support script, it was either off or deleted ? i have aa hp home premium bought in oct. 2009 ie9 windows 7 64 bits now what do i do ? i was told to...
2
1,577
Exequiel
thread by: Exequiel | last post Feb 15 '13 by: Exequiel
function zipcode_detect(){ var albay_zipcode = Array("4509","4502","4501","4503","4515","4500","4507","4504","4510","4512","4514","4504","4516","4506","4517","4508","4511","4513"); var albay_town = Array("bacacay","camalig","daraga","guinobatan","jovellar","legazpi city","libon","ligao","malilipot","malinao","manito","oas","pio...
2
1,975
thread by: burtonfigg | last post Feb 15 '13 by: tested0002
Hi, I have this form - test page here: http://jimpix.co.uk/ecards/test.asp?id=4549&tag=type-your-own-message&c=1#swf I have a button at the top of the page which I use to post data to the page to refresh the SWF content. I use a button to call the page, rather than the "action" property of the form. This is the button: <button...
6
2,367
thread by: shravan88k | last post Feb 14 '13 by: acoder
var elementObj = document.getElementById('code'); alert("hi"); var elementIndex = elementObj.selectedIndex; alert("hello"); For the above code, any cod after the selectedIndex line does not execute on Safari browser 5.1.7 Please help, or provide an alternative...
1
4,745
thread by: neovantage | last post Feb 11 '13 by: neovantage
Hi, I am trying to implement Bootstrap Scrollspy in my content page but unable to do that. I also used Affix in that code which is working perfectly fine. I used the ethics advised by bootstrap but still failed. I am unable to point out where i am lack in. All i want as when we go to some specific section then the relevant navigation menu must...
5
2,396
thread by: Trisha8 | last post Feb 9 '13 by: Rabbit
i have validation functions which is being called on onblur of respective input field. at the same time i am calling same validation functions with one say 'validateall()' function and 'validateall()' is being called on 'onsubmit'. now the problem is if some error has occured and i have corrected it and submit the form at that time 'onblur' is...
1
1,724
thread by: bob9k1 | last post Feb 7 '13 by: Dormilich
<tr> <td id="entry">Level of Entry:<input type="radio" name="level" value="GCSE" />GCSE</td> <td><input type="radio" name="level" value="AS" />AS</td> <td><input type="radio" name="level" value="A2" />A2</td> </tr> How can i validate this so when user clicks on a radio button it will pop up with a confirm box confirming if...
23
2,385
thread by: madankarmukta | last post Feb 6 '13 by: Rabbit
Hi All, In an attached the shot - Exple.jpg http://bytes.com/attachments/attachment/6589d1346525682/exple.jpg Node1 is referred to default1.aspx Node1.1 is referred to Folder1/default11.aspx Node1.1.1 is referred to Folder1/default111.aspx On mouse-Hover of the Node 1.1.1, the status bar shows...
1
3,016
thread by: kttr | last post Feb 6 '13 by: Rabbit
I have written my question in english, I have used proper grammar, my question is detailed, I have posted code, and the code is formatted in code tags. Finally, I would like to make clear that I only want pointersin the right direction. Don't do the work for me!!!!!!!! This is not a homework assignment, it is just for my own interest. There is...
4
1,900
thread by: Comskiesci | last post Feb 5 '13 by: Comskiesci
<div style="background-color:#fffcc0; font-family:Arial, Helvetica, sans-serif; color:#000000; padding:5px; margin:auto; width:400px; height:auto;"> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("studentrecord", $con);
6
1,649
thread by: yateesh | last post Feb 1 '13 by: yateesh
Suppose I have two buttons for comment and like , i need to display "Please login to comment/like " with login button shown to users if they havn't logged in . How do i do that ?

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.