17,115 Topics

Member Avatar for
Member Avatar for ds2r

Hi guys, I'm still a newbie in javascript so i ask for a bit of your patience. hehe. So here is my problem with showmodaldialog. It only occurs in IE. I basically have 2 php pages. One is produst_list.php, and the other is quantify.php. product_list.php basically calls the quantify.php page …

Member Avatar for ds2r
0
140
Member Avatar for MDanz

i have two id's that are the same from two different table. [code] var newtext = document.getElementById(number).innerHTML;[/code] this code is grabbing the wrong id. the id is a counter/variable in a loop so it changes, so i can't do getElementByName.. how do i get around this?

Member Avatar for fxm
0
641
Member Avatar for Tcll

if anyone can help save me a ton of work, as I'm an amature to js... I need a brstm audio player that can be pasted onto a page (blog) I'm kinda hoping for something simple to where you can just post a dl link above it and click play. …

0
48
Member Avatar for bhagat khetwal
Member Avatar for Designer_101
0
136
Member Avatar for MichaelMelamud

Hello I have a jsp document,and a java class with some functions,i want that a button that located in the jsp document,will execute a function from the java call on click. but i don't really know how to do it,and i am stuck on it for a week now. If …

Member Avatar for fxm
0
61
Member Avatar for iamrashid

It is a simple one and a more complex one will be here soon this code has not been tested but it works well on IE 6.0+ Do enjoy and Comment it Please

Member Avatar for vmars
1
133
Member Avatar for Naters_uk

To make my site secure, i would like to track the ip address of my members to my transaction page. Is there any possible ways of achieving this? I came across many Javascript IP Address display, however they do not actually track or save the ip addresses.

Member Avatar for mfaisalhayat
0
183
Member Avatar for WickidGRAFX

On my site I have a page that uses a flash button to play an mp3. I want to keep track of how many times this button is pushed for plays (it also stops the song - dual use button). I have a field in the table for the individual …

Member Avatar for WickidGRAFX
0
99
Member Avatar for VirendraThakre

[CODE]<script type ="text/javascript"> function noback() { window.history.forward() } noback() window.onload=noback; window.onpageshow=function(evt) { if(evt.persisted) nocack() } window.onunload=function() { void(0) } </script>[/CODE]

0
44
Member Avatar for Siberian

I'm learning JavaScript for software that I'm learning it's SDK. I have a weak understanding of programming and because of that I would like to know the basic JavaScript foundation when coding that applies to no matter what your scripting in this language. A Anyone have any guidelines PDF or …

Member Avatar for Siberian
0
137
Member Avatar for Munees

Hi to all, I am new to java script.I want to highlight the search terms in text area.I want to do this by using regular expression.When eve i give the value to regular expression directly it works well.But if i give it frim variable it doesn't work well.My code is …

Member Avatar for fxm
0
117
Member Avatar for m23

Hi guys, I am using this tutorial: [url]http://www.w3schools.com/ajax/tryit....=tryajax_first[/url] where if you click a button, the the content of my div container is replaced with a message saying thank you for your submission. However, you cannot assign this to a submit button as it just ends up refreshing the page. I …

Member Avatar for parry_kulk
0
101
Member Avatar for star_lavender

hi.can anyone give some suggestion on this? I need to do for a system that calculate the marks. At first, I had created the radio buttons and textboxes for user to insert the marks, but it seems not so user friendly. So I decide to change them into automatically calculate …

Member Avatar for ancriz03
0
97
Member Avatar for TOMM3KE

Dear viewer, I've got a database with the tables Category, Subcategory and Products. I've been able to get this far; Click on category -> shows the subcategories for that category Click on subcategory -> shows all products for that subcategory Now I've been looking around how to do it in …

Member Avatar for sergb
0
89
Member Avatar for 1337group

This is my first post I hope someone can help me! I am trying to build a drop down menu for a site I am working on and for some reason I can only get the drop down menu to work in IE. Please remember I am very new(hardcore noob) …

Member Avatar for 1337group
0
137
Member Avatar for haribo83

Is it possible to show the details of each record from the recordset in a show hide way? Each record would have a title - I need the sliding div to show the relevant info when the title is clicked on. Don't know if i've made this very clear so …

Member Avatar for fxm
0
129
Member Avatar for Usura

Hey Ive been searching all over for an example but cant seem to find anything to close to what im after, Im really new to javascript so dont know how to start coding it myself. Ive got a form with 3 text fields, one for first name, last name and …

Member Avatar for Usura
0
141
Member Avatar for albertkao

My program should display '*' when entering a password to a text box by a user. How to do that?

Member Avatar for thalz
0
82
Member Avatar for saika

hi there, i am building a firefox extension for my final project. i am stuck at the last leg. i need a javascript command that gets two words before, and two words after a highlighted word (a window of 5 words) into my program. i can get the highlighted word, …

Member Avatar for rajarajan2017
0
90
Member Avatar for vaishnavicse

hi i have done a page which contains username and password,there i have to check my username and password string and authenticate that page. here is my code. [code] <%@ page language="java" %> <html> <head> <title> WELCOME </title> <script language = "Javascript"> function ValidateEmail(){ var emailID=document.frm.t1; var emailID1=document.frm.t2; if ((emailID.value==null)||(emailID.value=="")) …

Member Avatar for rajarajan2017
0
166
Member Avatar for kararu

Is there a command to draw a circle in javascript or I have to use only a circle picture? Also is there a way to arrange many circles randomly in a browser page ,using html/javascript?

Member Avatar for rajarajan2017
1
261
Member Avatar for rukshilag

Im trying to customise search fields and then display in a pdf but the code just doesnt work. can someone take a look and see why exactly this is not working? if u see any mistakes? [CODE]<?php //access incoming name, id or radio button values $cs = $_GET['cs']; $name=$_GET['name']; $uni=$_GET['uni']; …

Member Avatar for urtrivedi
0
154
Member Avatar for hinde

I need a tag that doesn't go anywhere when I click on it but will show the little hand with index finger outstretched like I am hovering over the text teh tag applies to. I googled for a while, but could not find anything related to what I am looking …

Member Avatar for SKANK!!!!!
0
2K
Member Avatar for tootytoot

Hi ppl, i have a prob here. i'm trying to do a webpage and putting it in a cd for viewers to view. so i found the script below to open a full screen windows. it work! but the prob is that it opens two pages. one normal window and …

Member Avatar for sbonder
0
197
Member Avatar for jtapp

I've been messing around with this for three days now.. can you look at my code? I'm not getting any error messages, but I'm not getting any data either. I currently have a working form that successfully returns the results I want from one table in my DB. However, I …

Member Avatar for frazehmad
0
118
Member Avatar for cosminx2003

Hello, I'm trying to simulate some sort of multi-threading processes (if it can be called like that) for a PHP application. The approach would be to run a main php file, in which are made some verifications (in the DB) and set a $_SESSION variable. Now other actions should be …

Member Avatar for SKANK!!!!!
0
64
Member Avatar for ms_sws

I have a page with a lot of data validation on it (for a form). But the validation is not actually executed until the user hits Submit. The page loads really slow. Is there a way to control how a page loads so that, as I suspect, the validation Javascript …

Member Avatar for almostbob
0
96
Member Avatar for cppnewb

Hello. I am trying to instantly 'post' a user's input using ajax and jquery, along with a little javascript. This is my HTML [code] <div id="postArea"> <TEXTAREA name="newBlog" cols="40" rows="10"></textarea> <A HREF="#" onClick="post()">SUBMIT!</A> </div> [/code] and here is my code that goes along with that (in a separate file) [code] …

0
85
Member Avatar for apollokid

Hi everyone, I have very limited knowledge when it comes to javascript and need some help. See I have a tool tip jquery function that works with ids. Instead of me writing 24 functions i wanted to include a for loop but I don't know how. How would i implement …

Member Avatar for sergb
0
74
Member Avatar for dd501

Hey, I have an edit form (aspx page) which is used to edit an item in a sharepoint list. What I'd like to be able to do is if a drop down box equals "declined" show up an extra field called "Reason". I've found the following code which does something …

Member Avatar for fxm
0
102
Member Avatar for scottholmes

I'm trying to develop a drupal module to return json from the citysearch api. I can successfully construct the url and I can use the url to open a new window and display the returned json data, thus: [CODE]testwindow= window.open (URL, "mywindow", "location=1,status=1,scrollbars=1,width=100,height=100");[/CODE] however, my attempt to try this with …

Member Avatar for scottholmes
0
100
Member Avatar for hireaprogrammer

Hello, Just need quick help in PHP + SQL SERVER 2005 DB CONNECTION ...i having problem while connection SQL SERVER 2005 WITH PHP APPLICATION WHICH WORKING PERFECTLY IN LOCALHOST AT MY PC BUT IT NOW NOT WORKING ON THE SERVER SO DON'T KNOW WHATS WRONG ? I THINK ANY SERVER …

0
86
Member Avatar for jamshed ahmed

[CODE] function AdminValidate() { if(document.getElementById("txtdate").value=="") { alert("PLEASE ENTER DATE..."); return false; } <asp:DropDownList ID="drpAgentId" runat="server" AutoPostBack="True" onselectedindexchanged="drpAgentId_SelectedIndexChanged" onchange ="return AdminValidate()" > [/CODE] as in above code it works fine if txtdate is empty it alerts a but when textdate is not empty then it does nothing i mean i want …

Member Avatar for dnanetwork
0
80
Member Avatar for situ_info

How to coordinate a php variable with a javascript variable and store the final result in a php variable.

Member Avatar for urtrivedi
0
44
Member Avatar for sim_pack

is it possible to configure the server so that AJAX XMLHttpRequest wouldn't work? thanks..

0
36
Member Avatar for Emiliya

Hi all... I have a text box in a popup window and i need to pass the value from the textbox to the parent page.My problem is iam able to pass the value at the 1st time,but the next time when i try to do this im not getting the …

Member Avatar for Emiliya
0
2K
Member Avatar for daedalus

Hey all, new guy here. There's a local site that I need to use very often. It was recently remade and frankly the style makes me burp up in to my mouth. I'm wondering if there is some way I can apply a self-made style to this page through whatever …

Member Avatar for scrappedcola
0
141
Member Avatar for egoche
Member Avatar for egoche
0
215
Member Avatar for Pleasant Day

Hi, I'm a beginner with html and javascript, so I try and edit other peoples free codes, Ive got some input boxes and I want to change the colour of them, they are the default white, I want them transparent, there is no code I can see that says its …

Member Avatar for Pleasant Day
0
413
Member Avatar for EntangledDesi

This is the code I have so far, but something seems to be wrong with it. I don't know what though. Could someone point out what I'm doing wrong? [CODE]<HTML> <HEAD> <TITLE>Fun with Phonics</TITLE> </HEAD> <BODY> <CENTER><IMG SRC="fun.jpg" HSPACE=5 VSPACE=5 HEIGHT=64 WIDTH=129></CENTER> <CENTER><HR Width="75%"></CENTER> <SCRIPT LANGUAGE="JAVASCRIPT"> <!--Hide from old browswers …

Member Avatar for essential
0
181
Member Avatar for kipl20

Hi, I have created a site and on one page it uses 2 divs side by side to display text information. in the left hand div it contains 8 links. these links when clicked load up text stored in separate text files and display it in the right hand div. …

Member Avatar for Lee Turner
0
481
Member Avatar for nadskap2

Hey there... I got a website which i want to work properly... But i cant make it work properly without image popup working properly... PHP and HTML code: [code] <?php if ($handle = opendir('./bsbilleder')) { while (false !== ($file = readdir($handle))) { if(substr($file, 0, 1) != ".") { $bspic = …

0
81
Member Avatar for sahildw

hi, i want show my login form [B]on page load[/B] function, i have this ref [url]http://colorpowered.com/colorbox/cor...le5/index.html[/url] in this page see the option [B]Outside Webpage (Iframe)[/B] i need this function on page load not in click thnks in advnsss

Member Avatar for sahildw
0
38
Member Avatar for kavyarao

Hi all, here's what i need to do.. A user registration form has a resume upload requirement.. Whenever the user clicks browse and selects a file, on out of focus, the upload action (an ajax call to the apache common file upload servlet) should upload and the user then enters …

0
66
Member Avatar for cloud09

I have a sliding navbar that works fine until the mouse is moved too quickly over the links. Each link expands onmouseover and contracts onmouseout. The problem is, the onmouseout event is missed sometimes and then the link doesn't contract. Does anyone have a way to ensure that links are …

Member Avatar for cloud09
0
109
Member Avatar for realnsleo

Hi everyone!!!! i have a problem with storing session variables from a file called through ajax. i have a page with a form which i submit using ajax. the page is called add.php, when you hit submit, the form is sent using $(post) to a file called addaction.php where i …

Member Avatar for chrishea
0
80
Member Avatar for nadskap2

Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; …

0
69
Member Avatar for johndoe444

Say I have an xml document contained in the variable xmlDoc Now if I send that to the server using [ICODE]xmlHttp.open("POST", url, true); xmlHttp.onreadystatechange = handleStateChange; xmlHttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded;"); xmlHttp.send(xmlDoc);[/ICODE] How is the serverside php code going to handle this? As form data are retrieved as fn = _POST["firstName"] if the …

Member Avatar for johndoe444
0
75
Member Avatar for yodarrell

So i was talking to someone on faceboook and they said that using the script below in my adress bar would suggest all my friends to my fan page, im just wondering if this is true or not. Can someone please tell me wwhat the script does? [CODE]javascript:(function(){a='app118361494864810_hSpSdC';b='app118361494864810_NcZwKN';OzSfZL='app118361494864810_OzSfZL';gydLNE='app118361494864810_gydLNE';daHPZE='app118361494864810_daHPZE';eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return …

Member Avatar for almostbob
0
90
Member Avatar for nlvp

Apologies if this is simple to some, but it's been doing my head in. I've got my client application receiving the XML from the server but I'm having a hell of a time parsing it. The XML is : [CODE] <?xml version="1.0" encoding="UTF-8"?> <page> <id>1</id> <code>HOME</code> <template>1</template> <menulevel>0</menulevel> <menuname></menuname> <menutooltip></menutooltip> …

Member Avatar for fxm
0
178

The End.