15,121 Topics

Member Avatar for
Member Avatar for mattster

Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need …

Member Avatar for LastMitch
0
362
Member Avatar for Wailintun

HI! my friends, Now I am trying to make a drop down which will show image map by selecting image from drop down,please check this link http://www.siteexperts.com/dhtml/ch9/chapter/samples/map1/switch.htm it's very similar to what I want to make but it has one pic. Please help me! thanks for your time!

Member Avatar for LastMitch
0
83
Member Avatar for nacedo

I have this chunk of jQuery that is doing strange behavior. When I load the page, my list is slided Up (completely folded) wich make sense. But I have to double click each parent to slide them down, which is not the normal behavior. I think this line is the …

Member Avatar for nacedo
0
1K
Member Avatar for leandros.ioannou

Hi i have an issue using top to bottom plugin, while it works, the problem is that the image is visible only on top and while i scroll down the image stays top. Below is the code: <html> <head> <style> #main { float:left; width:500px; background:#c9c; } #sidebar { position: fixed; …

Member Avatar for leandros.ioannou
0
333
Member Avatar for Violet_82

Hi all, I wonder if you can help me at all. I need to display one ul list into separate (3-4) columns one next to the other one, only if the number of items is bigger than 6. Let's look at the following code. Html is: <div class="wrapper"> <h2 id="first">First</h2> …

Member Avatar for LastMitch
0
209
Member Avatar for root59

I am a big fan of the jqtransform plugin [URL="http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/"]http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/[/URL] but have discovered that when you add to many select fields on a page, the bottom half of the select fields do not open the option fields. I have a form which takes an passenger's date of birth, but there …

Member Avatar for rudywaltz
0
243
Member Avatar for turpentyne

My boss has several projects where i need to change out information. I did one with an included file of several divs that are hidden/shown, depending on what the user clicks on. It got tedious. But I don't have access to mysql to set anything up. Now I'm doing another …

Member Avatar for pritaeas
0
165
Member Avatar for sri.

Javascript string search string in array not working here is my code Mycode var array = ["foo","fool","cool","god",'searchstring']; var src_keyword=""; $("#search_str").click(function(){ src_keyword=$("#str_search").val(); find(array,src_keyword) }); function find(arr,src_keyword1) { var result = []; alert(src_keyword1); //src_keyword1="oo"; for (var i in arr) { var search = new RegExp(src_keyword1, "gi"); if (arr[i].match(search)) { alert(arr[i]) result.push(arr[i]); } …

Member Avatar for paulkd
0
348
Member Avatar for theguitarist

What are some common uses of HTML forms that contain just one text input and a submit button? The only one use I find is to submit search queries. Is there some other reason why this is commonly used?

Member Avatar for imBaCodes
0
190
Member Avatar for dewhickey

I know how to set it to auto jump to the next field in the form after a certain number of characters are entered. But that's not what I need. I need this: If number 2,3,4,5,6,7,8, or 9 is entered, I do want auto jump to the next field. However, …

Member Avatar for imBaCodes
0
195
Member Avatar for Kusno

Dear all, I can use this code to write a value in parent window control. [CODE]StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) & "';</SCRIPT>" If Not ClientScript.IsClientScriptBlockRegistered("S1") Then ClientScript.RegisterClientScriptBlock(Me.GetType(), "S1", StrJScript) End If[/CODE] but, I cannot set iFrame visible to false. I use this code : [CODE]StrJScript = "<SCRIPT>parent.document.form1.iFrmCustomer.visible = …

Member Avatar for sachin.e
0
540
Member Avatar for emilio

hi i have a simple website that includes a WebService and a Webform page. i'm trying to call my web service from the web form using jquery. when i type the web service's url using https, i get "Access denied" error from internet explorer. the call works just fine when …

Member Avatar for emilio
0
253
Member Avatar for deepak.fugo

Hi All, How can we set a value to iframe textbox element either in JS/Jquery <head> <script type="text/javascript"> function load() { alert("Frame is loaded"); myframe.document.getElementById("user_email").value = "<?php echo $var ?>"; } </script> </head> <body> <iframe onload="load()" id="myframe" name="myframe" src="http://www.gigpayrr.com/signup" width="700px" height="600px"> <p>Your browser does not support iframes.</p> </iframe> </body>

Member Avatar for deepak.fugo
0
1K
Member Avatar for Reliable

I've gone through Code Academy's beginner's JS course. I would like to not only practice what I've learned more, but now move on to interdemiate lessons. Is there a site like Code Academy offering such things for free and online?

Member Avatar for imBaCodes
0
110
Member Avatar for debasishgang7

Hi, I have a problem.I have a third party HTML/Javascript code in which they have text area.They post the content of the text area when user press enter. there is no button to submit the form. So I wanna know how can I submit that form using javascript. Thanks.

Member Avatar for imBaCodes
0
178
Member Avatar for Kmhnz201

Can anyone point me to the right direction with validating a input field like this "p99” (i.e. a letter followed by two digits).

Member Avatar for imBaCodes
0
66
Member Avatar for jmay1327

Hello all, I am looking for a way to code up an exit popup. The problem I am having is a way around the alert box that pops first asking if the user would like to leave or stay on the page. I would like to show an small html …

Member Avatar for JorgeM
0
114
Member Avatar for blivori

Hi, Can anyone tell me why no 'products' are being displayed from the JSON file? This is my code: products.html: <!DOCTYPE html> <html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type"> <meta content="utf-8" http-equiv="encoding"> <style>img{ height: 100px; float: left; }</style> <link rel="stylesheet" type="text/css" href="style.css"> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script> $.getJSON('products.json', function(data) { $.each(data.products, function(i, item) { …

Member Avatar for pritaeas
0
359
Member Avatar for unikorndesigns

Hi guys, I am getting very weird issue here. On my wampserver, this script works fine but not on my liver server which is linux. This is what it does. After a checkbox gets checked, the scripts identifies that and insert a row in table and that script send back …

Member Avatar for LastMitch
0
159
Member Avatar for allifields

Hi, so I have developed a top fixed navigation bar at the top of a webpage. How do I incorporate a fading navigation bar so that when I scroll down, the fixed bar turns from black to a certain opacity level? Is that something incorporating jquery? And if possible, if …

Member Avatar for Dani
0
974
Member Avatar for dhani09

I have the following code that gets input from users on a button click and draws on a canvas but when i click the button nothing works. Here's the code: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="mycss.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js.js"></script> <title>CANVAS</title> </head> <body> <canvas …

Member Avatar for dhani09
0
156
Member Avatar for chr.s

In order to make my AJAX functionality a little more efficient I've added a cache component; but this has given me a huge new headache. The AJAX related code is below. It listens for a click and checks if the user has already clicked that link. If not, it'll fetch …

Member Avatar for chr.s
0
296
Member Avatar for newrat

****** good day im new to this forum and i hope you can help me, I'm new to javascript i need to achieve a few things. my goal is to put a running timer for each text box generated ive read tutorials online and tested some codes and so far …

Member Avatar for newrat
0
194
Member Avatar for techd

Hi I have a datepicker: <input class="dmxCalendar2" name="dmxCalendar21" id="dmxCalendar21" /> <script type="text/javascript"> // <![CDATA[ jQuery(document).ready( function() { jQuery("#dmxCalendar21").dmxCalendar2( {"altFormat": "yy-mm-dd", "condDates": [], "firstDay": 1, "showOn": "both", "duration": "slow", "showOptions": {"direction": "up", "easing": "swing"}, "yearRange": "c-10:c+10", "onSelect": "MM_goToURL('parent','allactstest.html');"} ); } ); // ]]> </script> And also a script: <script> var chosenDate …

Member Avatar for LastMitch
0
213
Member Avatar for turpentyne

Quick question. I want to make a variable from just a section(substring?) of an id in javascript / or jquery. I've got four possible id names: link_north, link_south, link_east, link_west. I want to pull just the direction from the link to use as a variable, with this: var header_change = …

Member Avatar for LastMitch
0
113
Member Avatar for MasterHacker110

I have taken up a project of creating my own forum. A chat forum. I have started to design the homepage. But there is still much more work to do. The thing is I dont know how the folowing things work: Member login and that each member has their own …

Member Avatar for James singizi
0
285
Member Avatar for Atlanta15Braves

I am trying to have my .js file have a function that will change the color of the text within the div tag named "ID=test". I have the function (below), but I think I am missing something. I have three buttons in my HTML (red, blue, and black) that should …

Member Avatar for EvolutionFallen
0
404
Member Avatar for cris.calleo

Hi, I need to get a variable value from dropdown and pass this to another JS file: On <SELECT> i have Onchange event, which get dropdown value. If I make selection, alert popup appear with correct value file.php ... script ... function __doPostBack(elm) { var user_id = elm.options[elm.selectedIndex].value; alert(user_id); } …

Member Avatar for EvolutionFallen
0
115
Member Avatar for MasterHacker110

I program in C++/C/C#/Java but recently started in web programming. I like javascript and i am wondering if one can use it to make desktop program like one would in c++ for creating e.g. console applications... Or is it only a language that can be used in inside a browser …

Member Avatar for IIM
0
133
Member Avatar for Violet_82

Hi there, on one of my pages I am working on [url]http://www.antobbo.webspace.virginmedia.com/photography/category_1.htm[/url] I have a script which works in firefox, opera but it doesn't in chrome and IE. Now, let me explain first what the script is supposed to do. On the above page if you click on the second …

Member Avatar for 1@3RaJa
0
2K

The End.