15,127 Topics

Member Avatar for
Member Avatar for FreePuppy

What is up!? I am completely stuck and trying to do something I'm not to certain I can do. After reading on web I have seen 2 options... non i cant get work... Before I get ahead of myself let me explain what is going on. I have a JS …

Member Avatar for Taywin
0
187
Member Avatar for harveylester

I recently hired a freelancer to validate all the code for my Wordpress e-commerce website ([url]http://www.projectdisobey.com/disobeyclothing[/url]) He told me that he had finished validating everything, but when I tested each page out using the validation service at [url]http://validator.w3.org/[/url], I came across a whole load of validation errors ([url]http://imageshack.us/f/836/validationerrors.jpg/[/url]). I notified …

0
49
Member Avatar for johnbo100

Hi all, So I have 2 files where one is an ajax script that calls another file that does some mysql database query. What is the best way to echo out multiple recordset rows to ajax?. Please see the source code below: ajax code: [CODE] <form name="form1" method="post"> Please enter …

Member Avatar for johnbo100
0
2K
Member Avatar for Rizi004

hello i have a form for registering the user and i use java script for client side check that the field is filled or not the problem is that when user not fill the first name and press register button it will show client side message that the first name …

Member Avatar for phoenix_2000
0
112
Member Avatar for mr_scooby

I have this form that has a textarea that is compulsory, it has a checkbox that allows it to be ticked to show a hidden textarea using css/jquery. What I would like is to know how to do the jquery to force input into the unhidden textarea only when the …

Member Avatar for stbuchok
0
900
Member Avatar for vedmack

Hi, For some time I'm using window.createPopup(), recently I noticed that It cannot be used in modal dialogs that are opened in IE8 protected mode, So I was wondering is there still some way to make window.createPopup() work in the above situation, Thanks ahead, Daniel.

Member Avatar for vedmack
0
154
Member Avatar for parani

Hi Can you please go through the HTML files and let me know where am I going wrong? Page1.html : [inlinecode] <html> <head> <title>PAGE 1</title> </head> <body> <form action="page2.html" method="get" name="LoginForm" id="LoginForm"> Username : <input name="username" size="20"> Password :<input name="password" type=password size="20"> <input type="submit" name="Login" value="Login" > <input type="reset" name="Reset2" …

Member Avatar for Taywin
0
219
Member Avatar for Inny

Id like to limit the text chars shown in this script because too many chars are displayed causing overlap (see link) no idea what to do, please help? p.s I dont know js so if you could kindly be very specific, thanks. :) see it here (bottom of page 5 …

Member Avatar for stbuchok
0
331
Member Avatar for steventaal

Hello everyone, I wrote an Ajax API, and I thought that it may be of some use to you all. I will post the code and explain it here. [CODE]/* <!Tut note: do not use "var" to declare x or req. function makeReq() { target="http://yourserver.com/login.php"; data="yourdata=this&itsplace=thisstring"; req = new Request("post", …

Member Avatar for urtrivedi
0
112
Member Avatar for kwamba

I have finished desgning a website for a student exchange program. Please assist in availing the code JS code for slide shows on web background Help please It's urgent

Member Avatar for divyakrishnan
0
66
Member Avatar for Stefano Mtangoo

I have decided when I have free of free time I will be playing around small php editor. I was wondering where I can get a list of keyword for mentioned languages, preferably in csv or like format Thanks! [B]EDIT:[/B] I forgot CSS

Member Avatar for Stefano Mtangoo
0
142
Member Avatar for steventaal

Hello everyone, I wrote an Ajax API, and I thought that it may be of some use to you all. I think that it's pretty self-explanatory. Post or PM me if you all need more or need help. Peace! -Stev

0
214
Member Avatar for Xtremefaith

Ok so with the help of the Daniweb community here I've gotten better with AJAX/jQuery, enough to make a photography with it rather than flash. I'm very excited with how most of it is working but I've hit a brick wall I really need help with. [B]Outline:[/B] I have a …

Member Avatar for Xtremefaith
0
474
Member Avatar for asif49

I've put on my website a box which gets longer in height when it is clicked, I did this using the following code: [CODE] <script type="text/javascript"> var x=100; /*original height*/ function expand() { document.getElementById("move").style.height=x+'px'; /*Height from css.css in the div called "move"*/ if(x>300) { /*Desired height after expansion*/ clearTimeout(t); return; …

Member Avatar for asif49
0
98
Member Avatar for akshayphp

I want to know that "how to show hidden fields when a user selects a particular option in the html form" I want the fields to be hidden first,then when the users selects: Option A- Particulars fields which have I will create for this option must be displayed. If Option …

Member Avatar for svilla
0
173
Member Avatar for filch

Does anyone use the Maphighlight plugin by David Lynch ( [url]http://davidlynch.org/js/maphilight/docs/[/url] ). It is supposed to be able to group areas on a map so that if you role over one of the members of the group, the other members highIight. I cannot get this to work. I have tried …

0
70
Member Avatar for wilko1995

Hi, How would i go about creating a menu like the one that this website has? [URL="http://oas.com.au"]http://oas.com.au[/URL]

Member Avatar for AleMonteiro
0
87
Member Avatar for Jeroen van Zijp

Hey all, To make it more user-friendly, I decided I want to add a JS form validation to my contact form. The essence of the JS should be that it calls for a check.php?input= with the entered captcha code appended. Then the PHP script would echo "valid" or "invalid". For …

0
104
Member Avatar for Moss ali

Hi Dudes i need a javascript code for code behind using c#.When user click on delete button the popup dialog open Do you really want to delete Yes/No on Yes i want to put my Delete Method there.Pls help me.Thanks in advance.

Member Avatar for nakor77
0
223
Member Avatar for n3xtgen

I am new to AJAX and want to create something with three dropdown boxes. When a user selects the first one, the second dropdown populates with the corresponding fields, and when they select something from the second dropdown, the third populates. After selecting an option from the third dropdown I …

0
55
Member Avatar for vinothaviji

Hi..everyone, i have been designed a form then validate using php with ajax. I comple ted that php coding.But i know little bit about ajax.how to validate multiple fields in a form

Member Avatar for Taywin
-1
122
Member Avatar for Violet_82

Hi all, I am in the process of redoing my website and I have done pretty much all the html and css for it ([url]http://antobbo.webspace.virginmedia.com/photogallery/test/home.htm[/url]), so now I would like to add some javascript/jquery. This is essentially what I would like to achieve. On this page [url]http://antobbo.webspace.virginmedia.com/photogallery/test/gloom.htm[/url] I have a …

Member Avatar for Violet_82
0
945
Member Avatar for sun-tzu

[CODE] // Add to cart function $("#add-to-cart-form").submit(function(event) { /* stop form from submitting normally */ event.preventDefault(); $(".add_to_cart_message").show().html('Adding item to cart'); $.post("http://www.wghandcrafted.com/add_to_cart.php",$("#add-to-cart-form").serialize(), function(data) { $(".add_to_cart_message").html(data).delay(3000).fadeOut(); $("input.quantity").val(''); $("#cart-panel-widget").load('http://www.wghandcrafted.com/cart.php'); }); }); [/CODE] And the form: [CODE=HTML] <form id="add-to-cart-form" method="post" action="#"> <input type="hidden" name="pid" value="<?php print $P['id']; ?>" /> <div class="spacer"> <label for="qty">Quantity:</label> <input …

0
63
Member Avatar for sun-tzu

I just made this code today for a site I'm working on and figured people may try to improve it. To use: [CODE] $("#randomize").randomize(); [/CODE] [CODE=HTML] <!DOCTYPE HTML> <html> <head> <title>Random Pick Test</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js"></script> <script type="text/javascript" src="randomize.jQuery.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#randomize").randomize({ direction: 'topToBottom', evenBG: '#FFF', evenFG: '#000', …

Member Avatar for Taywin
0
701
Member Avatar for AODfan

Hello, New to JavaScript and I have an assignment where one piece of it needs to have the first name, last name, area code, and phone number when prompted by a function, once that info is had, it then needs to use the constructor function that is there to process …

Member Avatar for Taywin
0
201
Member Avatar for cjohnweb

Hey there, I'm still kinda learning JS. I can't figure this one out. I googled and discovered the issues is with placing the <!DOCTYPE html> tag at the top, but how to resolve the issue? I've a document with some Javascript and JQuery in it, it works great! I add …

Member Avatar for Taywin
0
2K
Member Avatar for deceivingrakesh

I'm having a problem with css positions !! i want the position of an image to be fixed when the user scrolls till some point and the position should be set to relative after that . Thanks in advance !

Member Avatar for Taywin
0
125
Member Avatar for lailalaila

Hi there, I'm trying to figure out how I can have a script add up the number of radio buttons selected for each category. For example, on a test, I'll have three options for each question. I want to add up how many A's are selected, how many B's are …

Member Avatar for MartinRinehart
0
120
Member Avatar for jpknoob

Hi, i am trying to make a form that when a button is clicked, a hidden div is displayed with radio buttons. i have managed to do this, however, the pagerefreshes and after a few seconds the page resets back to normal. can anyone explain what i'm doing wrong. My …

Member Avatar for gotboots
0
195
Member Avatar for deepak.marur

I'm ExtJS newbie. I need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. How do I buffer the contents and push the buffer to the server after some threshold value. A code sample would greatly help me. …

Member Avatar for jogesh_p
0
325

The End.