15,700 Topics

Member Avatar for
Member Avatar for jbutardo

Hi, I have a VB.net program in which there is a checkbox and a textbox. The textbox contains a name or a user and by default the checkbox is on checked=true, now, I want the checkbox checked to be false, whenever the user change the text inside the textbox without …

0
77
Member Avatar for kevindougans

Hi guys, Can anyone help me figure out a bug in ie9 i'm having? I'm on a mac and using parallels to run ie9 and its a pain in the neck as I can't get firebug lite working to help debug with this. Anyway http://test.cafemamboibiza.com/en on the right hand side …

Member Avatar for Troy III
0
121
Member Avatar for realzahed

i've got a project to be done using javascript and html....i don't know how to pass the arguments from <input type="text"> to the javascript function i'm using in my program. i just want the javascript script to calculate the input given by the user and return the answer. here is …

Member Avatar for MarPlo
0
192
Member Avatar for kevindougans

Hi there, Can anyone think why my jQuery panoramic plugin (http://test.cafemamboibiza.com/en/ibiza#ui-tabs-4) will only let me scroll once and not click to scroll again inside my site even though when i have it standalone (http://test.cafemamboibiza.com/pan.html) it works as expected. It seems to let me scroll around once perfectly but once that …

Member Avatar for kevindougans
0
95
Member Avatar for vizz

I'm using following latest files, jquery.min.js jquery-ui.js When I create javascript functions based on above both files, that works well on localhost, but as I upload them to server for become online it goes slower 'n slower 'n slower. Why scripts goes slow on effects? I have tried multiple hosting …

Member Avatar for vizz
0
113
Member Avatar for laura301019

Hi does anyone know how i can change the following code so that if theres no checkboxes selected the error message will show. function checkAllArtists() { var checkedValue=document.gridForm.checkAll.checked; for (var i=0; i<document.gridForm.elements.length; i++) if (document.gridForm.elements[i].type=="checkbox") document.gridForm.elements[i].checked=checkedValue; } function countChecked() { if (document.gridForm.checkAll.checked <=0) alert("Please select an artist"); return true; } …

0
52
Member Avatar for sidd.

Hi, I have attached a .html document and a text file, which is used as a input. This is a very basic website and its working fine in mozilla and chrome but not working on IE. Whenever a refresh button is clicked it loads data in debug area and Generate …

Member Avatar for kabugima2
0
196
Member Avatar for mrcniceguy

basically i am checking if i am in the same url as the page and i want to refresh the page only once,but whenever i try it keep refreshing infinitively place='/development/petersburg'; var pathname=window.location.pathname; if((pathname==place)){ window.location.reload();//reload the page } help!! how can i limit this page to refresh only once if …

Member Avatar for mrcniceguy
0
2K
Member Avatar for codingcon

Hi all my name is codingcon and i just joined daniweb :), i am new to the the javascript language and only have the basics down. Ihave this idea that i want to make and i just dont know how to do this one thing. basically i wanna know how …

Member Avatar for antonioazevedo
0
130
Member Avatar for xuweisen

hi, I have a problem with my javascript function.. this the code <?php include("include/connection.php"); if(isset($_GET['id'])){ if(isset($_COOKIE["users_resolution"])){ $resWidth = $_COOKIE["users_resolution"]-17; }else{ echo "<script language='javascript'>"; echo "writeCookie();"; echo "function writeCookie()"; echo "{"; echo "var today = new Date();"; echo "var the_date = new Date('December 31, 2023');"; echo "var the_cookie_date = the_date.toGMTString();"; echo …

Member Avatar for stbuchok
0
198
Member Avatar for dougalmaguire

I have an iframe that opens within another page. On the iframe there is a button that when clicked opens a region with a number of fields for the user to input. What is meant to happen is that the region opens and the whole resizes so that the data …

0
93
Member Avatar for srinidelite

<script type="text/javascript"> function validate(evt) { var theEvent = evt || window.event; var key = theEvent.keyCode || theEvent.which; key = String.fromCharCode(key); var regex = /[0-9]|\./; if (!regex.test(key)) { theEvent.returnValue = false; alert("Only Numeric is Allowed"); if (theEvent.preventDefault) theEvent.preventDefault(); } } </script> > Hello, > > I'm using the above script for …

0
68
Member Avatar for raf.fredi

$query =("SELECT * FROM products"); $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { $id=$row['id']; $title=$row['ProductTitle']; echo"$title<br>"; } This gives list of products. How to create and display new div with `width:250px;height:250px;overflow:scroll;` when clicked on product title to show product details. How to check second product details without closing previously open …

0
55
Member Avatar for spivey

I have a php foreach loop that displays a span element with a name in it, and an associated input field for each item in the array being iterated through. There is an onclick so that the value is passed to the associated input field: <span onclick="setAuthor(this)">name</span> Here is the …

Member Avatar for CoursesWeb
0
173
Member Avatar for khajvah

Hello people, I am future web designer and want to learn PHP and javascript, i already know a little javasctipt but i have never touched PHP. I need 2 books: one for PHP and one for javascript, money is not a problem... I saw some books "PRO JS for web …

Member Avatar for khajvah
0
292
Member Avatar for vizz

<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var ele = $('#scroll'); var speed = 25, scroll = 5, scrolling; $('#scroll-up').mouseenter(function() { // Scroll the element up scrolling = window.setInterval(function() { ele.scrollTop( ele.scrollTop() - scroll ); }, speed); }); $('#scroll-down').mouseenter(function() { // Scroll the element down scrolling = …

Member Avatar for dany12
0
153
Member Avatar for srinidelite

Hello, Here is my Project i need to show the Model Popup (Gridview) ... I found My code is Correct , But i don't Understand That why is not showing while run time.. here is the Desgin Code... Please Let Me tel What the mistake i've committed over here .. …

0
85
Member Avatar for yellowSnow

Hello, I am trying to parse a string using regular expressions. This string can potentially have any number of non-alphanumeric characters acting as delimiters. These delimiters can also be grouped together. Here are some examples of the data: 00923:5342:123 --> I want to extract 00923, 5342 and 123 into an …

Member Avatar for Troy III
0
200
Member Avatar for KOTS202

Hi all, I am new to web development. So please be easy on me and try and explain somethings in detail. I am building a edit page for something else I am building. It is all PHP driven with a MySQL database. Well anyway my boss want a inline on …

0
57
Member Avatar for desup

var arr = new Array(); arr = document.getElementsByClassName("repestyl2"); var index = 0; while(index !== arr.length){ if(arr[index].innerHTML.indexOf("Eck") >= 0){ arr[index].removeNode(true); arr[index].parentNode.removeChild(arr[index]); index++; } Is this code ok? Because I can't get it to work :) Simple question :P Thanks :) Maybe I should use for-each o.O

Member Avatar for desup
0
160
Member Avatar for simplypixie

I am using jQuery and Ajax to add items to a shopping cart and in all areas of the site apart from one it works fine and I cannot for the life of me work out why this one area isn't working. The form code (which is the same as …

Member Avatar for simplypixie
0
202
Member Avatar for dany12

I need to retrieve a valeu from a select in html like on this [Link Anchor Text](http://www.saxoprint.co.uk/shop/folded-leaflets.aspx/) and calculate the price can anyone help me?

Member Avatar for baig772
0
423
Member Avatar for erik216

I want to make a checkbox to control two textfield The checkbox default checked and two textfield default disabled When user uncheck the checkbox , These two textfield do not disabled. How can I write the script?

Member Avatar for fobos
0
128
Member Avatar for VenusCrystal

Hi, I have a icon which on mouseover action i'm changing to another icon little bigger and with a tooltip. This icon is placed inside a table row before the text data. When mouseover happens it moves the text data to right and new icon is displayed. Instead of that …

Member Avatar for VenusCrystal
0
100
Member Avatar for ebolt007

Ok, so I have a bunch of scripts that I created, and by themselves they work perfectly, but I am trying to use a load more script, basically like I have below. Now the problem is I have put all of my "scripts" into a load more div, because if …

0
74
Member Avatar for ajcoder

I have created the following code. I want people to drag the objects that are recycleable in the bin and a message to pop up that says "yes, you can recycle this". The others would have a remark that says something like "no, you cannot recycle this". At the end. …

0
88
Member Avatar for kukula

Hi there, I would like to make kind of a menu/content like it is on this site: [homebroker.pl/oferty_pracy/wyslij_cv/1](https://homebroker.pl/oferty_pracy/wyslij_cv/1) When you click "zobacz" it expand smooth. Do I have to use some jQuery code to do this?

Member Avatar for dany12
0
87
Member Avatar for ebolt007

Maybe I'm doing this wrong, but here's what I'm trying to do. Ok, so how do I send the URL to a new page? Right now I understand the writing ajax to a div, replacing the contents of the div, appending it etc. But what about if I am using …

Member Avatar for stbuchok
0
433
Member Avatar for dany12

I need to use a handler that will get from my select option in html a value but not the valeu orm the option I will show my code now ...<form action="" method="POST" class="submit"> <label for="select"> Print copy</label> <select class="select" name="select"> <option>1 copy</option> <option selected="selected">2 copies</option> <option>3 copies</option> <option>4 copies</option> …

0
68
Member Avatar for gsique

Hello everyone! I would like of uses a popup Ajax to open a site. For example: The user access the site, open a popup ajax with a warning: "The site is on maintenance. Close the window to use the page index of the site". How to ? Thanks you!

Member Avatar for simplypixie
0
52
Member Avatar for drogba123

Hi guys, I am doing a validation form (3 inputs: number of apple, orange and banana). for example i type: 'a' as input in the form that required only number (apple), it will prompt me error then i type the next input orange: 2 and it will accept it, however …

Member Avatar for Troy III
0
235
Member Avatar for willpollock

I am having an issue with an external javascript. I've included the code from the web page and the javascript code I have. Instead of opening a website when the selection changes in any of the menus, I get a pop-up message box with the address of the web page. …

Member Avatar for Troy III
0
310
Member Avatar for mavis310

hey I'm just having some trdouble with an onclick call. its being called before it iss. not really sure whats wrong with it. im also passing it in a function with arg so that the value i is assigned to it for the loop. i tried it without it and …

Member Avatar for Troy III
-1
162
Member Avatar for turpentyne

help! I'm trying to figure out how to verify looped form fields by name. This seems like it should work, but it's just skipping right past this verification step. Here's the code: <?php session_start(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type='text/javascript'> function myForm(){ // …

0
110
Member Avatar for ak47carbon

my coding is working but it is showing html tags from text.html,i want that onmouseover it get data from text.html by tag or div id naem and also by changing in text.html its suddenly chane not on refresh <html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser Support Code function ajaxFunction(){ var …

Member Avatar for FullDuplex
0
104
Member Avatar for bavenbabu

I am new to usage of jquery.I want to show a confirmation facebox while all my input requirements are true.ie when my form fields are validated a simple facebox should appear showing the forms are validated.How can i do it.Itried a lot.But i didnt get the source for facebox.I didnt …

Member Avatar for pritaeas
0
173
Member Avatar for Troy III

We know we already have built-in [I]Trim methods[/I], but trimming doesn't get rid of internal, (and unwanted) extra spaces. -So this is where Normalize method comes to play. It trims left, it trims right, but most importantly it also trims on the inside, one could say: "it trims inside-out". In …

Member Avatar for Troy III
0
325
Member Avatar for mavis310

So for my code that i have below the reg.onclick is happening before it is even clicked and I'm not really sure how to fix this. Thanks for the help in advance. function displaySearch(){ var div = document.getElementById('table') var table = document.getElementById('tableSearch') var res = xmlhttp.responseXML var e = res.getElementsByTagName('element') …

Member Avatar for Troy III
0
190
Member Avatar for InS@NiTy

Hi, I'm trying to use a javascript for loop to write out links with titles from an array, that when clicked will execute a function I have written to pop open a new window, with info on the link clicked, this is the code I'm trying to use (this is …

Member Avatar for Troy III
0
158
Member Avatar for exonwarrior

Hey all! I have to come up with code for taking the contents of an input box on my webpage, use that as the name in my script and then display a message based on the time, say "Good morning Dave!" if it's between 5am and 12pm. I have all …

0
76
Member Avatar for Violet_82

HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to …

Member Avatar for Violet_82
0
2K
Member Avatar for james chaco

Hi, I am luking for a Collection library much like what we get in java and c# and in my hunt i came across few names like bucket, coffeeblack, js_cols. Which would be most compatible with jQuery? As i got a nice library from sourceforge.net but it is not compatible …

Member Avatar for james chaco
0
130
Member Avatar for srinidelite

please tel me the logic behind the code for find the common aphabets between two words?? ex ... mine mind common letters are : m i n like

0
65
Member Avatar for ebolt007

Ok, so I have a few ajax pieces on my site, and I am trying to include functionality when something is clicked. Basically, lets say like on facebook, when someone makes a comment, then that new comment is created. My return is for the pieces with the ID's pulling in, …

0
82
Member Avatar for mavis310

so for my code i have i'm trying to pass along the i variable in the for loop but when i pass it on it passes the highest i value. so when it should be one it passes along 10. i am curretnly passing along the cell6 id and splitting …

Member Avatar for drogba123
0
371
Member Avatar for vizz

I am trying to use jScrollPane vertically, but it is not working. http://jscrollpane.kelvinluck.com/ I want simple styleable scrollbar alternative for above link or need help to make code work ( **Vertical only :-** http://jscrollpane.kelvinluck.com/arrows.html )

Member Avatar for pritaeas
0
84
Member Avatar for abhisheknayak9

i want to check which radio button is checked in rows of a datalist and compare that radio button value with database feild value using javascript or c# can anyone suggest me idea. i has this code: Code blocks are created by indenting at least 4 spaces ... and can …

0
55
Member Avatar for bilibala

Hello everyone, I am thinking to create a vertical menu, which may contain sigle level or even multiple levels of submenus. While mouse is hover one main menu item (parent menu), the related submenu items will appear one by one on the right hand side. While click on one of …

Member Avatar for elbeato
0
151
Member Avatar for VRamone

hi,i would like to add an 'onChange' to my <ext:TextField> to execute a function,but it´s not working.Any ideas?

-1
79
Member Avatar for sanket044

i want to add different javascript to different divs. Is it posible to set .js page's scope to specific <div> ?

Member Avatar for pzuurveen
0
177

The End.