15,121 Topics

Member Avatar for
Member Avatar for still_learning

Hi guys, I'm working at a college in Michigan and we have an issue with the files not loading correctly for our website. The issue appears to be a javascript problem. When I try to access a page, it will load, but the javascript functions for instance will show up …

Member Avatar for Airshow
0
151
Member Avatar for sahil1991

hi, can someone help me with psudoprotocol in javascript..i mean what is it and how does it work exactly?

Member Avatar for Airshow
0
62
Member Avatar for kained

Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var …

Member Avatar for kained
0
159
Member Avatar for lilk132z

I recently made a java program (multiple classes) which requires user inputs (multiple classes), however I am not sure how to either A) turn it into javascript so that I can put it on a website, or B) add the java file itself to a webpage.

Member Avatar for McLaren
0
96
Member Avatar for rohittripathi
Member Avatar for yamot47

does it's possible to retrieve data from a javascript ?? coz js is a client side script and php is a server side how can i get value of my js??[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> …

Member Avatar for divyakrishnan
0
1K
Member Avatar for Naggelos

Hi, stuck and haven't been able to find a solution. Problem is pretty simple, I'm importing XML content using Javascript in an HTML page. I managed to display the XML elements and positioned it correctly using a table. Now I wanted to style the fonts of each element extracted specifically. …

Member Avatar for Naggelos
0
116
Member Avatar for lambing

Hi guys, I have a page and inside that page I have an iframe which occupies 60% of the page. Now inside this iframe, I have a button that when i click it, it opens up a [B]modal box[/B]. I am currently using jquery ui modal dialog, could anyone help …

0
77
Member Avatar for cavpollo

Hi there, I'm using asp.net with the ScriptManager control from AJAX and some Javascript code., and came across this weird problem. The thing is that I have a page in which i placed the script manager and refreshed according to the interval of a timer. Some images are placed inside …

0
87
Member Avatar for newbieJS

I should probably begin by stating that I am not a mathematician, not even close. When asked to produce a JavaScript program using the Sieve of Eratosthenes, I started googling. There are a lot of examples out there but very few are for JavaScript, and even fewer include comments. Could …

Member Avatar for newbieJS
0
2K
Member Avatar for barizon

I have a form with the vendor and product fields, I want that after these two items are completed the price of the product field is automatically filled in accordance with the vendor and product inserted (remembering that there is a price table where you register the product price and …

Member Avatar for barizon
0
102
Member Avatar for MrPixel

Hey folks, Long story short. I've been looking around all day for a script that would detect the height of one div (can't be predefined because of dynamic text content), and set a second div as that same height. I found a few forum topics about scripts I thought could …

Member Avatar for bulletcatcher
0
323
Member Avatar for Acute

How to send [COLOR="Red"][U]ANY[/U][/COLOR] text via jquery ajax method to php script? When text entered in textarea is html entity, php $_POST[]/$_GET[] sees it as empty string. Here is the code: [CODE=html] <head> <script type="text/javascript" src="/Engine/js/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.ajax({ type: "GET", url: "get.php", data: "ta=" + $("#ta").val(), success: …

Member Avatar for McLaren
0
169
Member Avatar for ShadowScripter

Hi, I've noticed some websites don't display their content until everything's been processed, downloaded and ready for render. The result is images [B]DO NOT[/B] render after download, so there're no images popping up everywhere on the page while the page is processing its next request, but wait until it's done …

0
136
Member Avatar for vboopathicse

i need a script that data's fetch from mysql and display in text scroller using javascript. i' uses it is a news update. please somebody helpp me.

Member Avatar for diafol
0
173
Member Avatar for ben.marks

Hi there, Pretty novice to JS, just wondered if anyone could give me a hand please. I have a form that is passed to itself. I was just wondering if there was a way to get this to validate before it passed to itself. I was assuming that as the …

Member Avatar for ben.marks
0
357
Member Avatar for elneco

forums, I’m developing a site for some hotels in baltimore. I want to incorporate a booking widget similar to the one on: [url]http://www.dullesairporthotelrooms.com/[/url] Where a user can select 1 of 4 property’s to check for availability. can any1 please help with this? Thank you, -neco

Member Avatar for pritaeas
0
133
Member Avatar for maria_megha

what can be the reasons for the same code which works perfectly in notepad to not show its result in a jsp application done using eclipse??anything to do with settings? I am not able to display the current date as default in dd/mm/yyyy format in drop down menu box..only dd …

Member Avatar for mahavir123
0
78
Member Avatar for manish250

hello all i have a jsp page.there is a text box in jsp page.what i want is when i enter a key in text box it accepts it only if it is alphabet otherwise it would give an alert.I want to enable arrow and backspace and delete key.Currently i am …

Member Avatar for peter_budo
0
121
Member Avatar for Nathan666

Hi I have 3 dropdowns on the following page, http://gilt.martinduys.com/index.php/places I managed to get the region dropdown to get filtered based on the country selected in the first, the problem is when a user selects a region, all the regions disappears. So to see what the problem is first select …

Member Avatar for pritaeas
0
90
Member Avatar for tinker

I am creating a dynamic web page where uploading images is one of its feature. I have a looping DIV where each DIV has its own images: show sample below... [CODE] <?php while($row=mysql_fetch_assoc($result)){ $id=$row['id']; $path=$row['path']; ... ?> <div class="img-container"> <img src="<?php echo $path; ?>" /> <button onclick="changeMe('<?php echo $id; ?>')">Change …

Member Avatar for mahavir123
0
273
Member Avatar for gyannitin

Hi, I have a section, suppose A and it has 3 sub sections B,C and D. I want only A to be displayed in the left panel and on clicking it, B , C and D should appear.B,C and D will have hyperlinks. Any pointers will be very usefull. Thanks

Member Avatar for gyannitin
0
139
Member Avatar for cj333

[CODE] page = $("<div id="content"><p>aaa</p><p>bbb</p><p>ccc</p></div>").find('p').eq(0); [/CODE] This can echo `<p>aaa</p>` but How to select multi `eq()` in jqeury? if I need `<p>aaa</p><p>bbb</p>`

Member Avatar for bvelez352
0
97
Member Avatar for Naggelos

Hi, I'm using JavaScript to parse the XML onto HTML. I was wondering if there is a way that I can limit the words output on a certain XML tag. For example, for the JavaScript to only display 50 letters (or characters) of the <content> tag in XML Thank you …

Member Avatar for iceandrews
0
54
Member Avatar for yamot47

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> function buttonPress(str) { alert(str); } </script> </head> <?php session_start(); error_reporting(E_ALL ^ E_NOTICE); include "dbconfig.php"; $id=$_SESSION["valid_user"]; ?> <body> <form name="Item Search" method="post" action="search.php"> Item Search:<br> <label> <input name="swords" type="text" size="30" maxlength="30"> …

Member Avatar for yamot47
0
196
Member Avatar for gyannitin

Hi all, I am trying to create quiz dynamically. I want user to add more and more ques in a quiz and then finally submit the form. Here is a code that I am trying [CODE]<div align="center"> <table id=repeat> <tr> <td width="155"><font color="#FF9933">Question</font></td> <td width="377" align="left"> <p align="center"><textarea rows="4" name="S1" …

Member Avatar for peter_budo
0
116
Member Avatar for CanadianGSX

New to javascript but I have a good analytical mind....that being said, I have the following code in onSubmit() validation: [code] else if (cofaCOURRIEL == null || cofaCOURRIEL == "") { alert('Le champ COURRIEL doit ĂȘtre rempli.'); document.forms["COFA_AIG"] ["COURRIEL"].focus(); return false; } else if (cofaCOURRIEL) { if ( (atPOS < …

Member Avatar for Shanti C
0
69
Member Avatar for maria_megha

Can someone tel me the code to put a dropdown box showing default values as shown below using script ..i,e by enclosing them in document.write in script <CODE> <SELECT NAME="choice" > <OPTION VALUE="1">one </OPTION > <OPTION VALUE="2">two </OPTION > <OPTION SELECTED VALUE=" 5 "> 5 </OPTION> </SELECT> </CODE>

Member Avatar for Shanti C
0
101
Member Avatar for danny5514

hi all i have search the web and cant find what im looking for which is simple code so that i can have a box about 200px by 400px that scrolles i had used the marguee tag but i need it to display on all my pages. so i thought …

Member Avatar for skald89
0
77
Member Avatar for singaiah39

Hi, Could any one tell on how to load page while scrolling? For e.g. If i want to load 200 records, i will first load 100 records and when the scroll reaches bottom, i will have ajax to get the remaining records. Here, when i get the next set of …

Member Avatar for Airshow
0
136

The End.