14,054 Topics

Member Avatar for
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 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
220
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 xega

Hi I've been searching for an example on how to created multiple dropdown lists in Ajax and finally managed to find one: [URL="http://www.coursesweb.net/ajax/multiple-select-dropdown-list-ajax_t"]http://www.coursesweb.net/ajax/multiple-select-dropdown-list-ajax_t[/URL] I got the example up and running on my server, but when I started to modify it to fit my own database, I got a problem with …

0
100
Member Avatar for chrisfozz

The code below was originally posted by langsor in 2008, I’ve adapted it to pass JavaScript values to a new page. I’d like the link to open the page in a new window, tab or iframe. I believe the code for a new window involves something to do with “target=_blank” …

0
27
Member Avatar for Tariqphp

Hi Sir , I have a problem in drop down menu .actually i make website in joomla ,so now i wanna change drop down menu of my website , i have download drop down menu "S5 flex menu" in this menu there are one file is mootools.php . when i …

0
37
Member Avatar for carlbrooks

I have a dropdown menu and some buttons below in my HTML: [CODE]<p> <select name="numberDrop" id="numberDropId" onClick="getButtons()"> <option value=""></option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> </p> <p> <input class="answerBtns" name="answerA" type="button" value="A" /> <input class="answerBtns" name="answerB" type="button" value="B" /> <input class="answerBtns" name="answerC" type="button" value="C" /> <input class="answerBtns" …

Member Avatar for urtrivedi
0
2K
Member Avatar for jovypinoy

[B]Hello guys, I hope someone can help me on my problem. Actually I insert a jquery funtion to pause my slideshow but it didn't work..[/B] [B]Thanks for the help in advance. Here is my codes Variables for the links and images of slideshow.[/B] [CODE]<script> var links = new Array(); links[0] …

0
73
Member Avatar for manjushreekaran

hello all, after tried so much now posting here. i have two programs sql.php and form.jsp. i want to do insert values into mssql database from user input form. sql.php is able to insert the values into database. i have connected database using ODBC.form.jsp is able to give user input …

Member Avatar for cereal
0
205
Member Avatar for aa26i

Hi there, Script to show on the web page that how many times user loaded it or refresh it. the counter restarted from 0 on closing the browser and open it again. any help here will be appreciated. Thanx

Member Avatar for stbuchok
0
3K
Member Avatar for Virangya

why isn't this working? [CODE] $('body').find(".overcolor").click(function(){ alert("hi"); }); [/CODE]

Member Avatar for stbuchok
0
142
Member Avatar for dendenny01

I had a given a assignment of java script as to form a script that changes the background image of the document after equal interval of time.as i am a beginner to programming I had formed a script that should change background and a loop stated for image name to …

Member Avatar for dendenny01
0
847
Member Avatar for gchurch

hey i'm trying to make a traffic light that when the mouse rolls over a certain light the colour will show. then if the light is clicked the colour will either turn on or off... this is what i have so long. [CODE]<html> <head> <style type="text/css"> #trafficLight { border:1px solid …

Member Avatar for gchurch
0
223
Member Avatar for malcolm p

I have a spinner where user enters in their value or uses the buttons to increase or decrease the value. When the user is happy with the value in the spinner the user submits the value. The value would then appears in another table inside a textbox. What my question …

0
63
Member Avatar for Virangya
Member Avatar for Virangya

i wrote this code but noting happens.. can't find the error. even firebug is empty :( please help soon! [CODE]$(document).ready(function(){ $.ajax({ type: "GET", url: "tinymce.xml", dataType: "xml", success: function(xml) { $(xml).find('userdata').each(function(){ $(this).find('dataset').each(function(){ var title = $(this).find('redo').text(); var id = $(this).find('redo').attr('id'); //var url = $(this).find('url').text(); alert(id); //$('<div class="items"></div>').html('<a>'+title+'</a>').appendTo('#system'); }); }); } …

Member Avatar for Virangya
0
122

The End.