15,113 Topics

Member Avatar for
Member Avatar for rayidi

I'm Working with register module with xmlHttpRequest. I have checking all. When i was trying to redirect after successfull its displaying the response with in the given div. [CODE] <script type="text/javascript"> function showRegister() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code …

Member Avatar for pritaeas
0
1K
Member Avatar for phoenix_2000

Heya all, I've got a really weird bug here at the moment. I recently uploaded a javascript file form my local dev machine to an IIS server, and it gave me an odd error: "truedocument undefined". When i looked up the line in my browser source code(the one you get …

Member Avatar for Airshow
0
138
Member Avatar for malcolm p

Got 2 problems with my buttons selection. What happens is the user selects the number of buttons depending on the number entered in the text box. If the number is 3 in the text box, then the user can only select 3 buttons, if more buttons are selected then it …

Member Avatar for Airshow
0
94
Member Avatar for malcolm p

I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no. The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)) Now using …

Member Avatar for Airshow
0
71
Member Avatar for maxxxx

Can I add an alert to this JavaScript? <script type="text/javascript"> document.getElementById('send').reset(); </script> <body> <input type="button" id="send" value="send order"/> </body>

0
82
Member Avatar for malcolm p

Hi, In my application what happens is that the user chooses a button by clicking on the (open Grid) link and selecting a button. Then what happens is that a set of buttons appear below depending on what the user has chosen. The user is supose to determine how many …

Member Avatar for Airshow
0
62
Member Avatar for rse

I have an ajax call that sends some data to process.php and return back the image name. In process.php I returned the name as follows: [code=php] echo "image.png"; [/code] The ajax call is: [code=javascript] var $chart = $( '#chart' ); var $test = $( '#test' ); $.get("process.php", {date: DateStr, birthday: …

Member Avatar for rse
0
140
Member Avatar for malcolm p

I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no. The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)). Now I …

Member Avatar for Airshow
0
89
Member Avatar for newmaster

Hi all! I have found this script, very simple. I like this but i want more advanced What I want is: How to make, that turned always in one side (right or left)? Instead of that has reached the end, thumbs through back and again forward... and also previous, play/pause, …

0
94
Member Avatar for mallak alrooh

Hello every body>> ^_^ I want your help, I have done code that retrive data from the databse and the user can add data in the database , I want to do validition for student ID, if its in the datase before (if its valid before or not) I need …

0
76
Member Avatar for pagerussell

hello, A site I am developing uses innerhtml to load all content into a content box. I have the jquery script links and function on the main part of the page that does not refresh. The image gallery is printed into the content box when the innerhtml function is called …

0
48
Member Avatar for maxxxx

I have this form, and I want to add JS to it. I got part of it. But the hard part is the ordering menu part it's self. Can someone help me please? [CODE]</p></td><td width="359" align="right"><table width="325"> <tbody> <tr> <th width="144">item</th> <th width="75">price</th> <th width="92">quantity</th> <th width="101">sub-total</th> </tr> <tr align="middle"> …

Member Avatar for maxxxx
0
76
Member Avatar for azegurb

i installed nivo slider with thumbnail into the web page i created. But if i multiple the amount of pictures they shift down to the second row and they stacks over each other. Can anyone help me so that to make thumbnails only desired amount. for ex if amount of …

0
70
Member Avatar for rithi3

Any one help me to create a chat box (HTML/JS)for my site. Many web sites provide the chat box which referring their site. I don't want that kind of chat box. I need a complete code for chat with all functions. If i get the code to login with nick …

Member Avatar for stbuchok
0
188
Member Avatar for cip6791

Hi all, I'm doing some tests with ajax and php. The below code works when I load the page, but I would like to call it when I click a button. How can that be done? index.php: [CODE]<script type='text/javascript'> $.ajax({ type: "POST", url: "test.php", data: "name=name&location=location", success: function(msg){ alert( "Data …

Member Avatar for cip6791
1
16K
Member Avatar for sassygray5

Hello, On [URL="http://baileyjumper.aisites.com/Apollo-13/gallery.php"]this page[/URL] of my website, I have a photo gallery and a navigation menu that are both using J query. If you visit the page, you will see that the gallery is working, but the menu is displaying bright blue. This blue color is supposed to be a …

0
91
Member Avatar for rse

Hello, I have a php variable $birthday, I am showing it's value like this: [icode] <div id= "dob" class="pick_number">Day of Birth: <?php echo $birthday ?></div> <div id="test"></div> // value should be printed back in here. [/icode] I need to pass the value of $birthday via ajax, I had the following …

Member Avatar for rse
0
170
Member Avatar for Ralphael

i am writing an ajax code to collect information from a xml file but the file is not being read can someone please point out the problem for me the code is below. [CODE] <html> <head> <title></title> <script type="text/javascript"> var xmlHttpDoc = new XMLHttpRequest(); /*getcolor1 function*/ var options; function getColor1() …

Member Avatar for PlyrJames791
0
140
Member Avatar for buzzykerbox

Hi I would like to change the color of an external style sheet rule using .css method of jquery is this possible? and how would I go about it? Thanks,

Member Avatar for PlyrJames791
0
47
Member Avatar for krushed18

My problem is that I am trying to execute a function on button click event but it just shows not even for a sec it just flashes. html & Javascript : [CODE]<html> <head> <script type="text/javascript"> function createLabel(){ /*Get UserName*/ var unString = document.createElement("label"); unString.className = "userName"; var uName = document.getElementById("username").innerHTML; …

Member Avatar for stbuchok
0
189
Member Avatar for rakibtg

how to show a javascript warning message for some specific words from a textfield. if a user write [B][COLOR="Red"]http://[/COLOR][/B] and [B][COLOR="Red"]/[/COLOR][/B] in a textfield and click on the Submit button of my form then a javascript will show a error message to the user and submission will stop. How to …

0
89
Member Avatar for Pravinrasal

[B]I refer this website [COLOR="Green"]http://neyric.github.com/wireit/[/COLOR] and I used logic gates. I want to find out the positions of start and end of wiring from the terminals but didn't find out the positions . [/B]

0
82
Member Avatar for ben_dajao

[CODE]<td id="table-cell"><label> Travelers: </label></td> <td id="table-cell"><input type="button" onClick="" name="" value="Add Traveler" /></td> [/CODE] I need an ajax/js function that will generate an input form to be filled up when the Add Traveler button is clicked. (not open a new window but generate it on the [COLOR="Green"]same page[/COLOR]) So, I want …

0
114
Member Avatar for buzzykerbox

Hi I would like to change a css rule,with javascript this is what i have so far?? [CODE] body{ font-family: Arial, Helvetica, sans-serif; font-size: 12px; /* [disabled]line-height: 17px; */ color: #ffffff; background: url(images/bg.jpg); <script> function changeStyle() { var mySheet = document.styleSheets[0].rules || document.styleSheets[0].cssRule; for(var i=0; i<mySheet.length;i++) { if(mySheet[i].selectorText == "body") …

Member Avatar for buzzykerbox
0
124
Member Avatar for Violet_82

HI there, I have done a little work on a simple script to change images on mouse over and on mouse off. It was meant to be a very simple one but it is not working and I am not quite sure why. here's the coplete html and script code: …

Member Avatar for Violet_82
0
223
Member Avatar for buzzykerbox

Hello again,I'm writing a blackjack game for class,it generates two random numbers that select from a switch statement that creates a string file name of a card e.g "AceDiamonds.gif", it than fills an array deck[] with these strings,I want to fill the array with the full deck of 52 cards,and …

0
62
Member Avatar for talisien

Hi All, I found this code to disable dates in jquery datepicker [CODE]$(function() { $( "#pickdate" ).datepicker({ dateFormat: 'dd MM yy', beforeShowDay: checkAvailability }); }) for the datepicker stuff, and then: var $myBadDates = new Array("10 October 2010","21 October 2010","12 November 2010"); function checkAvailability(mydate){ var $return=true; var $returnclass ="available"; $checkdate …

Member Avatar for Airshow
0
2K
Member Avatar for didzmad

Hello all, I am looking to implement a new feature on my website. I would like to get a log in form that would take the members to an update page where they can update their details showing on my website Here are the features I need: - Log IN/OUT …

Member Avatar for stbuchok
0
134
Member Avatar for tqmd1

Dear Experts I have following codes [CODE]<html> <head> <title>this is first math exercise within Java Script</title> <script lanuage="Javascript"> function total() { Var amount1 = text1.value Var amount2 = text2.value Var total=eval(amount1) + eval(amount2) text3.value=total alter("Correct Answer") } </script> </head> <body> <center> <form> <table width="20%" border="1" cellpadding="1" cellspacing="1" > <tr> <td …

Member Avatar for stbuchok
0
83
Member Avatar for joannamanez

[CODE] <form name="myForm" method="post"> <textarea id="commentarea"></textarea> <input type="text" name="locate" value="<%=rs.getString("location")%>"> <input type="button" value="View Comment" onclick="getComment()"> </form> function getComment(){ <% String locate=request.getParameter("locate"); %> var location = "<%= locate%>"; document.getElementById('commentarea').value = location; } [/CODE] I know this is the worst way to access it, but i need to access it in this …

0
108

The End.