15,120 Topics

Member Avatar for
Member Avatar for himanshu.1691

i have a page where i have multiple rows in a table and the no of rows is not fixed. it is fetched using php loops from the database....each row has a drop down list containing 3 values.... i want a checkbox at some part of the page...only one.... which …

Member Avatar for broj1
0
170
Member Avatar for mrjimoy_05

I have the code below to show the modal-box after a LinkButton clicked. And, what I want to do is how to assign the Textbox value on the modal-box from the javascript. I have a gridview: <asp:GridView ID="GV1" runat="server" DataSourceID="DS1" > <Columns> <asp:TemplateField ShowHeader="False"> <ItemTemplate> <asp:LinkButton ID="LinkButton" runat="server" CausesValidation="False" > …

0
70
Member Avatar for patk570

I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix …

0
148
Member Avatar for dschuett

I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a …

0
139
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
121
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
233
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
134
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
110
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
119
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
56
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
26
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
109
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
86
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
89
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
164
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
294
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
64
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
511
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
207
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
285
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
237
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
516
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
43
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
102
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
181
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
79
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
264
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
61

The End.