15,694 Topics

Member Avatar for
Member Avatar for h2so4_2003

<script type="text/javascript"> function dynaBlock(){ var division=document.getElementById("dynamic_block"); var go_btn=document.getElementById("GO"); if(division.style.display=="none"){ division.style.display="block"; return true; } } </script> function not defined says firebug. onclick="return dynaBlock()" in button. block is in DIV tag. what to do?

Member Avatar for h2so4_2003
0
122
Member Avatar for ndrw

Good day! I just want to make a modal form unclosable if possible. my aims are: 1. my webpage will detect the ip address of the user. 2. if the user is from another country, he will not be able to access the page, so a modal form will open …

0
53
Member Avatar for sibbs06

Is it possible for me to use this code but change the date to a date from my database? // NOTE: the month entered must be one less than current month. ie; 0=January, 11=December // NOTE: the hour is in 24 hour format. 0=12am, 15=3pm etc // format: dateFuture1 = …

Member Avatar for shylonz
0
234
Member Avatar for RickCJ7

How do I call a PHP string from within javascript? This is parts of my code but it isn't working... Thanks! <?php $URLString='MySite.html'; ?> <html> <body> <script language="JavaScript" type="text/JavaScript"> var popUpWin=0; function popUpWindow(URLStr) { if(popUpWin) { if(!popUpWin.closed) popUpWin.close(); } popUpWin = window.open(URLStr); } </script> <script language="javascript"> popUpWindow(<?php $URLString ?>); </script> …

Member Avatar for RickCJ7
0
137
Member Avatar for buzzykerbox

Hi i'm doing a project for college using jquery, i'd like to dynamically update a section when a link button is clicked without reloading the page, the content fades out and the new content fades in, but when i click on a link the content fades out but the new …

0
111
Member Avatar for riseguim

Hi there, I've been looking a lot on Google for this and couldn't quite find exactly what I was looking for. I have an upload function on my website and sometimes it can take a lot of time until the upload is complete. What I seek is that when you …

Member Avatar for pritaeas
0
120
Member Avatar for INF-P

Hi there How do I get my menu to display on a blackberry or any other mobile phone? This is the site below.... I am not sure what other coding you need to look at.. Please assist? http://www.northdakota.co.za/

Member Avatar for pritaeas
0
57
Member Avatar for Mr. Tarun

How To make automate image gellry with Js, Dhtml or Ajax. I Tried But it doesnot starts automatically when web page opens.

Member Avatar for pritaeas
0
27
Member Avatar for gotboots

Hi All Im trying to get this to work, but can only get it to work without putting the form tags in, and wont work with more than one set of the inputs. the below is the result when i use ajax to search for item names, then want to …

Member Avatar for gotboots
0
3K
Member Avatar for ing

Hi, I can't figure out what I'm doing wrong here. It must be the simplest thing, but the script is meant to add asterisks only after the numbers 1, 2, or 3. Instead it is appending one to each number. Please help. <SCRIPT LANGUAGE="JavaScript"> var number=1; var is1or2or3; function checkIf1or2or3(n){ …

Member Avatar for ing
0
111
Member Avatar for Violet_82

HI there, I run into a very annoying problem. On one of the sites I am working on, I have a series of landscape and portrait pictures to show. The landscapes are ok as you can see from here if you click on the first thumbnail http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm but if you …

Member Avatar for Violet_82
0
90
Member Avatar for madhan

Hi – I have an inline jQuery function that selects the table cell data onclick. The jQuery part works well. I have added code snippet of jquery. $(function(){ $("#myTable td").click(function() { $row = $this.closest('tr'); case "name": alert($row.find(".name").html()); break; etc Instead of displaying the name on the client –side alert message, …

Member Avatar for blocblue
0
2K
Member Avatar for sibbs06

Hi all This is just a query and would like to know how i would go about creating a java countdown that would countdown from a date in my database and when it gets to zero it would disable the submit button. I currently have a java countdown working however …

Member Avatar for MarPlo
0
90
Member Avatar for dyingatmidnight

Hello. So here's the stitch. I was asked to modify some existing code to only prompt the user to save changes when a change was actually made and not every time the new page button was pressed - which was what it was currently doing. I've ran into a bit …

Member Avatar for dyingatmidnight
0
165
Member Avatar for mbarandao

Hello: I was wondering if I can get some guidance on how to pull data from mysql and inserted in js array in the following manner var option_array = new Array(num_of_cats); option_array[0] = new Array(\"You need to select a category\"); // This is the first (blank) category. Don't mess with …

Member Avatar for mbarandao
0
295
Member Avatar for ak47carbon

i want to show an jquery animation in index page after showing animation then my website content will be display Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("div").animate({margin:300},"slow"); $("div").animate({height:300},"slow"); $("div").animate({width:300},"slow"); $("div").animate({height:100},"slow"); $("div").animate({width:100},"slow"); …

0
65
Member Avatar for Violet_82

HI there, I have runt into an issue with the overlay I have on the website I am working on http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm The problems seem to be with Internet explorer 7, 8 and 9. Say you click on the first thumbnail, then the big pix comes up and behind it the …

Member Avatar for Troy III
0
847
Member Avatar for trickist17

Can please someone tell me, why I always get SECURITY_ERR when trying to open a new filesystem? The code is from html5rocks.com, so it is probably not the code. Chrome Version: 19.0.1084.15 (Developer Built). Code (from [html5rocks.com](http://www.html5rocks.com)): <html> <head> <style> .example { padding: 10px; border: 1px solid #CCC; } #example-list-fs …

Member Avatar for trickist17
0
539
Member Avatar for lilleskut

Please apologize my ignorance, I am very new to this. So I have some code and am doing AJAX refreshes of some text on the page which works fine. Now I want to refresh things which are more complicated than just a text string, such as a button which is …

Member Avatar for pritaeas
0
210
Member Avatar for programmer12

Hi, The code below is a Jquery News Ticker. It works but recently the codes broke. The codes are pulling data from the database. Some of the titles and descriptions have ' or "" in them. Would that stop the codes from working? If so, if you dont mind, Please …

Member Avatar for programmer12
0
287
Member Avatar for layman114

I am trying to display value. The code below displays value but it uses alert to show value. But I need to show value in a textbox. Anyone there to help me??? $('#show').click(function() { var $cars = ''; $('#selected_cars .innertxt2').each(function() { var $car_value = $(this).attr('carvalue'); if ($cars == '') $cars …

Member Avatar for Airshow
0
239
Member Avatar for dyingatmidnight

Hi there, I'm trying to modify a form verification script. When you press the submit button it runs a javascript function that checks if the required fields are filled out. If not it sends up an alert and doesn't submit the form. What I'd like to do is have it …

Member Avatar for chrishea
0
521
Member Avatar for AdilJ

I have customised fonts on my page, however they will not send to the print preview, how can i achieve this, the css loads fine but the javascript fonts are being sent as unstyled fonts.

Member Avatar for Troy III
0
44
Member Avatar for ariez88

I have a web application which have a datalist within a datalist. The outer datalist make parent items and the inner one the child items both with checkboxes for selection. I am retrieving these items from a database. THE PROBLEM: 1. I want the parent item to be checked/unchecked automatically …

0
115
Member Avatar for hptchen

hi... i'm a new member of daniweb i have a problem in setting 2 comboboxes. i want to populate the second combobox based on first combobox value. i already have the code running well in firefox and chrome. but the code is not working in IE. can anyone please help …

Member Avatar for hptchen
0
183
Member Avatar for wolwayne

By using javascript, what I wanna do is that when a user click on a headline on wc_page.jsp a new page news.jsp will open. This page conatins all the news date-wise. Suppose a user clicks on the headline which is at number 5 on news.jsp page, I want to open …

0
80
Member Avatar for vizz

<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script> <script type='text/javascript'> $(document).ready(function(){ $("#content").rotate(20); $("#inner_content").rotate(-20); }); </script> <div id="content"> <div id="inner_content"> </div> </div> This is not working in IE6+. Works only in chrome and firefox

Member Avatar for vizz
0
265
Member Avatar for the_demon75

Hello. I am not an expert and just know some basic HTML. I am trying to help a friend with a website. On the top there is supposed to be a table with two columns. The left column is a bigger area where I'd like to lead content. The right …

0
62
Member Avatar for mogaka

i have created a php application where am using a barcode scanner to load item name and prices from database. the problem is that once the barcode reader finishes reading the barcode, the details are loaded and it tabs to the next field. this means that the user has to …

Member Avatar for Troy III
0
115
Member Avatar for felix001

Hi, Im looking for an easy method to validate the input of a form. Ideally I want to remove all spaces from the inputed text and also ensure that there are no speical characters within it other then a forward slash. The input will look like this 192.168.1.1/24. Thanks,

Member Avatar for Troy III
0
323

The End.