15,700 Topics

Member Avatar for
Member Avatar for earachefl@comca

I'm not understanding this. I have a .cfm file which is processing a form submission and doing a number of tests on the form. If certain conditions are met, I need to alert the user and get confirmation. At that point in my code, I've put a standard confirm script: …

Member Avatar for arrgh
0
56
Member Avatar for mysqlnewbie

Hi, I am pretty new to web development so bare with me. I have a simple problem that I have been trying to solve it for a while now. I have 2 select boxes in a form that when the first select is changed the 2nd select will populate from …

0
178
Member Avatar for ForestTech

Hi, I'm trying to write a form that has required fields. When the form is filled out with the required fields missing, I'm trying to have a pop-up that tells them what is missing and then cancels the submission of the form. At the moment I have the function below …

Member Avatar for kamikaze63
0
188
Member Avatar for eshwarz

I have a problem in posting form elements through ajax, what am i doing wrong? Can anyone help me please :( [CODE]<?php error_reporting(5); $uid = "username"; $tid = 500; $photoTiding = "true"; $picName = "picname"; $pid = "pid"; include('sample_db.php'); //displaying users pic and textarea to comment. $user = "SELECT pic …

Member Avatar for parry_kulk
0
102
Member Avatar for george61

Ok I'm javascript newbie and I have to make script for displaying random images after click on dice picture. The problem is that the script shows only only 1 picture after the clcik and it won't continue with the next random images. [CODE]<html> <head> <script type="text/javascript"> function randomize(){ var delay …

Member Avatar for peter_budo
0
2K
Member Avatar for aladar04

I created a function wherein if a textField has no value/input, it will prompt an alert. However, the function is not working. Things I consider that makes it not work: 1) the "inp" variable 2) declaration at <form> tag 3) looping the all the textfields What do you think? Please …

Member Avatar for asmira
0
100
Member Avatar for apollokid

Hi all, Not that great with javascript and need some help so thanks to whoever helps me out. Well I have run into a problem and cannot figure it out at all. I have a lightwindow inside a <p> tag inside a jquery slideout which is being called with both …

Member Avatar for apollokid
0
160
Member Avatar for Pleasant Day

Could anyone tell me what would be the code for this effect please. I want the code for a button effect The button is for a graphic button, on clicking it it changes its graphic to an ('on' image), plays a sound effect, then changes graphic to the first image('off' …

Member Avatar for almostbob
0
112
Member Avatar for swi2

hi pl z suggest me some best j-query calender plug-in which can restricted the year like i want to see only years between 2000-2010 then it will not display me the year2011 calender

Member Avatar for chrishea
0
68
Member Avatar for phpl0v3r

[URL="http://docs.sun.com/source/816-6408-10/"]http://docs.sun.com/source/816-6408-10/[/URL] [B]This book is a reference manual for the JavaScript language, including both core and client-side JavaScript for version 1.3. JavaScript is Netscape's cross-platform, object-based scripting language for client and server applications.[/B] [B]Grabbed using Internet Download Manager Grabber for offline usage :[/B] [URL="http://www.fileserve.com/file/J8GQUgu"]http://www.fileserve.com/file/J8GQUgu[/URL] [URL="http://www.mediafire.com/?hagu8fzjf20mrww"]http://www.mediafire.com/?hagu8fzjf20mrww[/URL]

Member Avatar for kainil
-1
128
Member Avatar for shadiadiph

I have a radion box that has the values private public and friends but i cant't seem to get it to reset to the default value using javascript?? [code] document.getElementById('emailsetting').checked='private'; [/code]

Member Avatar for kainil
0
174
Member Avatar for delta3

Hi, I would like to have the same running clocks as on page: [url]http://marketindex.rbs.com/uk/Home.aspx[/url] I downloaded swf file: <URL SNIPPED> but can someone write how to create a code to display that object working on webpage? Thank you!

Member Avatar for peter_budo
-1
97
Member Avatar for laghaterohan

Hello, I have gridview which has checkboxes for Approve and Disapprove in each row. I have applied JQuery on the gridview on it for paging. Now i want to access the Datakey value for the checked and unchecked boxes in the gridview and accordingly save it to the database. I …

Member Avatar for Ramesh S
0
170
Member Avatar for iThaos

Hi everyone. I've run into another problem :( I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: [CODE] function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var …

Member Avatar for iThaos
0
393
Member Avatar for emilyhedgecock

Hi I am creating a drop down menu and i want to be able to select the elements that will be in the drop down list (the nested parts of my html <ul> list). I want to do this so that when the user hovers over the visible part of …

0
134
Member Avatar for sajohnson05

Below you will find my three codes. I am trying to make an order form that submits an order and writes the text in the black box. But the black box needs to be within the last red box, not sure why its not going in there. Also my alert …

Member Avatar for kainil
0
138
Member Avatar for ms_sws

Is there a way to create a div or some container in which there will be an image such that the image fills the container but retains its aspect ratio? So if the container is 100px x 100px and an image is 200px x 100px it will be resized to …

Member Avatar for prabinrai
0
150
Member Avatar for costapico

for example if I have two arrys arr1[10,20,30] arr2[40,50,60] can I get help on how to merge them to get arr1[10,20,30,40,50,60]

Member Avatar for scrappedcola
0
755
Member Avatar for scaryhelmet

Hi there. I'm trying to figure out how to make this JS work with nested divs. Right now it looks for TagName 'div'. I have multiple nested divs and that seems to mess things up pretty good. I'm not sure how to add more detail to this code, like look …

Member Avatar for Taywin
0
111
Member Avatar for nick3592

hey guys, i was wondering if it is possible to edit the contents in a iframe to match your sites needs, like for example css/html. Is there any way this can be done in javascript or regular html?

Member Avatar for almostbob
0
99
Member Avatar for ayesha789

hi this is my code. I want to validate new password with repeat password befor user press submit. [CODE]<p align="center">To reset your password, provide your current password</p> <form id="form1" name="form1" method="post" action="pcq.php"> <table border="0" align="center" class="mytable2" style="margin-left:175px" > <tr> <td>Current Password</td> <td> <input type="password" name="oldpass" style="width:150px;" /> </td> </tr> <tr> …

Member Avatar for almostbob
0
376
Member Avatar for kuffour

i have written an html document webpage in a form of (calculator)and have connected it with java so i want to create an event so that when i press the button(1) it will appear on the screen.i have already created an event for the "clear"in way that when i press …

Member Avatar for Jayavardhan
0
90
Member Avatar for EvolutionFallen

Hey all, I'm having a problem with my WordPress contact form. It is a script I edited from a tutorial I found, and it should be working right. I have a jQuery script that is supposed to help validate it and process it without page refresh. The problem is that …

Member Avatar for EvolutionFallen
0
192
Member Avatar for TejaDharma

Hi, When i'm click on the web page, the page turn off to balck color. is it possible? Help me..........

Member Avatar for Jayavardhan
0
133
Member Avatar for alirex

what is the code for such kind of slider ads which this website have from bottom <snipped> i checked he have some .js format but not able to get the source code of that ad. Can someone help me to get the code.

Member Avatar for asmira
0
55
Member Avatar for Silvershaft

Hey, I got a little problem with the jQuery AJAX thing, the function(data) part doesn't seem to get called I don't have idea why I've been trying to solve this, but with not luck.. Here is my checklogin function [code] function checkLogin() { var username = $('#name').attr('value'); var password = …

Member Avatar for pritaeas
0
92
Member Avatar for aladar04

Let's say, user input on prompt is 1 so JavaScript will create one textfield. We'll test Assess() if its working. Type "1" on textField and click "Assess" button. No alert message appears. Please help. Thanks in advance. [CODE]<html> <head> <title>JavaScript</title> <style type="text/css"> font{ color:#663300; font-variant:small-caps; font-family:calibri; font-size:15; } </style> <script …

Member Avatar for aladar04
0
180
Member Avatar for ultimatebuster

How can I get the real image dimension with javascript? I tried [CODE] function getImageSizeReal(imgLink){ var img = new Image() img.src = imgLink; return [img.width, img.height]; } [/CODE] However this only seems to be working sometimes in Opera . No luck in firefox or chrome (dunno about IE) Anyways to …

Member Avatar for Taywin
0
189
Member Avatar for arsenal01

Hi, Hope every one will be fine, i am facing problem with JQuery Scrollable menu, i am trying to placing 2 scrollable panels on a single asp.net page. When there is one panel every thing works fine but when i copy and paste the code so my web page contains …

Member Avatar for newtonpage
0
126
Member Avatar for elneco

Hello Forums, I am using zRSS reader on my site: [url]http://www.zazar.net/developers/zrssfeed/[/url] Simple enough to use but was wondering how i can shorten the blog description for each entry? and even the title?? any ideas perhaps someone here can help me figure this out! Thanks, Jaime

Member Avatar for fxm
0
110
Member Avatar for jrock2004

Ok I have a page that has a list of teachers on it that has their email address. What I want to do is when the teacher's email link is clicked a lightbox type form comes up. So would it best to code what my form is in a separate …

Member Avatar for jrock2004
0
117
Member Avatar for ErlendHL
Member Avatar for bhavik_thegame

Hello guys, I have implemented the jquery validation in one of my projects. I have a <div> which has all the billing details & another <div> below it which has the shipping details. There is a checkbox in between these <div>'s which says "Same as Billing Address". It is used …

Member Avatar for kainil
0
220
Member Avatar for design.eng

I have one drop down menu, with cars, vans, motors. If you would select cars you see the next dropdown of van1,van2 and van3. If you select cars the next drop down will appear car1,car2, and car3. And if you would select motors you will see motor1,motor2 or motor3. the …

Member Avatar for scrappedcola
0
140
Member Avatar for pareshverma91

Hi all, I would like to know which of the above scripting languages is better one. It terms of the control they offer, variety of things you could do with them, easy of use and ongoing trends in the market etc from some expert in these. Thanks for the help.

Member Avatar for kainil
0
182
Member Avatar for mlotfi

Hi, I have a page that when loaded it populate a div data from database : <div> data1 --------- [U] remove link[/U] data2 --------- [U] remove link[/U] data3 --------- [U] remove link[/U] </div> I want to have an acordion that has data with checkboxes : checkbox ------------ data4 checkbox ------------ …

Member Avatar for mlotfi
0
79
Member Avatar for halona

I am trying to write a bookmarklet that extract a citation information from a web page in a new text file for the client by using javascript. but I could not find any solution where writing to a text file is allowed with firefox by using javascript. the application suppose …

Member Avatar for fxm
0
192
Member Avatar for avnish1728

Hi, I am calling javascript from java and calling a function, and that function on an image i am calling onmouse over. So now the problem is, I have two jsp, secord inside first. when i click first jsp where is onmouseover, it's working fine and after that i am …

Member Avatar for fxm
0
101
Member Avatar for canterorist

hi! i don't have problem in checking all checkbox but if i uncheck the checkbox the id=cball(my main checkbox of all), the sub don't follow the main(id=cball); here's my code for jquery: [CODE] $(document).ready(function(){ $("#cball").click(function(){ $("tr [id=cbmessage]").attr("checked","checked"); },function() { $("tr [id=cbmessage]").attr("checked",""); }); });[/CODE] html code: [CODE] <input type="checkbox" name="cball" id="cball" …

Member Avatar for canterorist
0
151
Member Avatar for julzk

Hi all, I have a problem. I have a menu and when clicked it loads the data from that menu into my main page divs. However, I want to be able to auto refresh my div#mainview_json every 5 seconds. When I try to implement the auto_refresh = setInterval(blah, 5000); it …

0
51
Member Avatar for subhankar02dey

I want to know using Java Sript, how can I get sub buttons when I mouseover a button, for example, in daniweb.com, when I mouseover Web Development button, then it expands and shows PHP, ASP.NET, Cold Fusion, ASP, JSP and so on....... How I can make this type of button …

Member Avatar for fxm
0
102
Member Avatar for Iron_Mac

Hi, I'm trying to reverse engineer/understand something. If you saw this: [code] <a href="{url}"onfocus="this.fireEvent('onmouseover')" onmouseover="parent.CommonMethods_previewResultsHover(this, '{url}','position=cornertopright')">Text</a> [/code] What would the code after the onmouseover in the href mean to you? I *think* it is calling a script from the parent called "CommonMethods_previewResultsHover". Am I close? A complete nebie to Java …

Member Avatar for scrappedcola
0
69
Member Avatar for snefmoo

iv been using a tutorial to creaete the script to show an enlarged version of an image float on the screen on mouse over. the script and everything else works but i was wondering if someone could help me to make the floating image more central as it floats down …

Member Avatar for scrappedcola
0
99
Member Avatar for Silvershaft

Hey! I got a little login script, like when user presses the button it sends the form and does the php code to check the account, what I want to do is if the password or username is wrong, that the user will be redirected to loginpage and I want …

Member Avatar for Silvershaft
0
198
Member Avatar for stilllearning

Hi, I have some code which creates an extremely long table row, and I've been able to clean it up to a point where my performance is fairly decent. What I am trying to figure out is if its better in terms of speed to use divs as opposed to …

Member Avatar for scrappedcola
0
108
Member Avatar for agrarian

How do I retrieve data from MSSQL Server using Javascript? I am used to doing things in PHP, but I want to have an interactive form which is able to display Sales Tax after user types in his zip code. My query is similar to: "select top z.rate from zipcodes …

Member Avatar for agrarian
0
121
Member Avatar for TotoTitus

Hello everyone. This post will contain an amount of personal feelings within it. I'm not a very experienced/skilled programmer, and my main 'background', if i can call it so is in windows forms applications (Visual C++, C#), where conceptually speaking, everything is driven by events, the only possible difficulties arriving …

Member Avatar for TotoTitus
0
195
Member Avatar for marian99us

Hello, I have been looking for a solution for a long time. I have embedded a SWF app in html page using SWFObject. Now I need to give the Flash app the address where it is currently embedded, since the same SWF file is embedded in more than one locations! …

Member Avatar for rajarajan2017
0
184
Member Avatar for canterorist

If i submit using <input:text>, i can see the result but if i use <input:file>. i cannot upload. jquery code; [CODE]// JavaScript Document $(document).ready(function(){ $("#myformcom").submit(function(){ var str=$(this).serialize(); //var result; $.ajax({ type: "POST", url: "uploadfiles.php", data: str, success:function(msg) { $("#error").ajaxComplete(function(event,request,settings) { if(msg=='Successfully Submitted') { $(this).html(msg); } else{ $(this).html(msg); } return true; …

Member Avatar for pwinfrey
0
97
Member Avatar for benhowdle89

[CODE] <script> $(document).ready(function() { var refreshId = setInterval(function() { if ($('#recent td') > '200') {.css("background-color", "#1eff00")}; },1000); }); </script> [/CODE] The above is what i'm trying to achieve but its definitely not working! I have a table being outputted by PHP from a MySQL Db but i need to highlight …

Member Avatar for benhowdle89
0
110

The End.