15,120 Topics

Member Avatar for
Member Avatar for usuario

Hello, Somewhere in Internet I found a free script which I use in instant messaging system to send messages without page refreshing. This script works well for 99% of users but from time to time I get messages from users who can't send messages because nothing happends when they click …

Member Avatar for Airshow
0
108
Member Avatar for morteza_ipo

Hello. I want to delete duplicate values of options tag! this is my code. But this is not good and have problem! [CODE] function DropDups() { var i=0; var forml; forml = document.getElementsByTagName('form').length; for(i=0;i<forml;i++) { var Target=document.forms[i]['color']; for (var avvali=1; avvali<Target.options.length; avvali++) { valavvali = Target.options[avvali].text; for (var dovvomi=1; dovvomi<Target.options.length; …

Member Avatar for Airshow
0
4K
Member Avatar for moonknight33

[CODE]<html> <head> <title></title> </head> <body> <script type="text/javascript"> function showPic(whichPic){ var imgSource = whichPic.getAttribute("href"); var placeHolder = document.getElementById("placeholder"); placeHolder.setAttribute("src", imgSource); placeHolder.setAttribute("height", 400); } </script> <h1>Image placeholder</h1> <a href="pics/wolf_1.jpg" onclick="showPic(this); return false;">Wolf 1</a> <a href="pics/wolf_2.jpg" onclick="showPic(this); return false;">Wolf 2</a> <a href="pics/wolf_3.jpg" onclick="showPic(this); return false;">Wolf 3</a> <a href="pics/wolf_4.jpg" onclick="showPic(this); return false;">Wolf 4</a> <a …

Member Avatar for moonknight33
0
236
Member Avatar for trebor-pl

Hi, Im new to here. I have a problem with some JS for my website. I made JS to enter text from input boxes in form to a read only text area. However it overites the text instead of putting it below (thats what I want it to do, put …

Member Avatar for trebor-pl
0
250
Member Avatar for titosd

Hello, I"m trying to send mail to multi users, but i doesn"t succeded/ I doesn"t know how to add all the mails that i selected to the mailto tag. this the the code that I wrote: [CODE]<SCRIPT LANGUAGE="JavaScript"> function getSelected(opt) { var selected = new Array(); var index = 0; …

Member Avatar for Airshow
0
165
Member Avatar for morteza_ipo

Hello! I made a code with php! In this code my program gets many recodes and with a loop that generate form tag! And this tag have a loop again for generating select box with many options! That options value is image file name. And in this forms have a …

0
69
Member Avatar for Griffin54

Hello; On one of my web pages I want to add a page "Loading" image while some of my .pdf file upload when clicked on. I have searched for and found a few different sources of javascript code for the page loading function. However, none of the code I tried …

Member Avatar for Airshow
0
63
Member Avatar for rameshreddyg

Hi, I am trying to hide a table based on its id on clicking a button. function showTable() { var reasonTable = document.getElementById("reasonTable"); if(reasonTable.style.display == "none") { reasonTable.style.display = "block"; reasonTable.style.visibility = "visible"; } } <form id="MyForm" method="post" name="MyForm"> <TABLE id="reasonTable" style="visibility: hidden; display: none;" WIDTH="612" CELLPADDING="0" CELLSPACING="0" ALIGN="center"> <TR> …

Member Avatar for Freon22
0
338
Member Avatar for umesh314

I would like to know the working of this code in brief.. any help will be appreciated... function getCookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1) { c_start=c_start + c_name.length+1; c_end=document.cookie.indexOf(";",c_start); if (c_end==-1) c_end=document.cookie.length; return unescape(document.cookie.substring(c_start,c_end)); } } return ""; }

Member Avatar for Airshow
0
136
Member Avatar for feoperro

Hi, I was wondering if there are any scripts out there that work similar to a normal windows browser. I'm not looking for a folder tree type of view though (as you would see in windows explorer) but more of a "single folder at a time" type of view. I …

Member Avatar for pritaeas
0
111
Member Avatar for soft_coder

Hi! I have successfully implemented a modal dialog using jquery with the help of Daniweb forum but I am facing one more problem. Well, I have to intregrate it with a sharepoint page. 1. It is running fine in a normal web application. 2. It is running in a webpart. …

Member Avatar for soft_coder
0
660
Member Avatar for naziatarannum

hi everyone, I'm new to Ajax, can anyone please help me in creating --Dynamic dependent cascading select using Ajax. It should not use asp .net, I need to add the code in a text field to generate this kind of cascading customized field. eg. initially we need to populate a …

Member Avatar for pritaeas
0
136
Member Avatar for solvision

Hey guys, nice to meet you. I have PHP/MySQL driven site. I have finally found an AJAX script to load my data in a div on the same page. It works if i click a static link, but the main purpose i need is to click link with dynamic album …

Member Avatar for pritaeas
0
178
Member Avatar for AjithAnnadurai

Hi friends . how to post a Text Link in Forums . if i click that text means it will go another link . please help

0
79
Member Avatar for hussainiat

function tempdbentry() { var regex=/^[0-9A-Za-z]+$/; //^[a-zA-z]+$/ var myname = document.ItemEntryForm.iname.value; var mycat = document.ItemEntryForm.selectcat.value; var mypic = document.ItemEntryForm.ipic.value; "<?php $phpmyname = '?><script language=javascript>document.write(myname);</script><?php'; $phpmyname = str_replace('?>', '', $phpmyname); ?>" "<?php $phpmycat = '?><script language=javascript>document.write(mycat);</script><?php'; $phpmycat = str_replace('?>', '', $phpmycat); ?>" "<?php $phpmypic = '?><script language=javascript>document.write(mypic);</script><?php'; $phpmypic = str_replace('?>', '', $phpmypic); …

Member Avatar for Airshow
0
1K
Member Avatar for jt3dani

Hello all, Is there a way to use/load Prototype and Scriptaculous from the body? I'm in a weird situation on a cms; I can use javascripts on my page but don't have access to the head. A year or so ago I remember running across a site where the guy …

0
39
Member Avatar for ninjaimp

Hi, This seems really stupid i cant get my head around this. I have a listbox that has items added to it from selections from another one. I have also added code that an item can be double clicked to remove it, which works, until the page is refreshed and …

Member Avatar for scrappedcola
0
137
Member Avatar for zjbarden

Hello, I've been experiencing this problem for almost a week now, and have tried everything possible to figure out the problem: but I simply cannot. When I load the web page into my browser (developing it on my local machine) it returns this error: [code] Window win is already registered …

Member Avatar for scrappedcola
0
219
Member Avatar for chandaboy

Hi, all I want to get the data from the div tag, from this website [url]http://www.weather.com/outlook/travel/businesstraveler/hourbyhour/PKXX0008?begHour=7&begDay=4[/url] when you click on the firebug in firefox you can see there is a and under this div there are more divs there, I want to get the data (i,e,. only the 3pm, 25,25 …

Member Avatar for chandaboy
0
152
Member Avatar for yopirates

hey everyone.! i have a n application where i have a color picker (jquery) i will get the value the user choosen color . then i will put that into to session variable. Now i want the contents of the external stylesheet to be modified based on the color which …

Member Avatar for jpietrangelo
0
98
Member Avatar for TheOmniAdam

I have this PHP code which calls several dropdown menus. These menus are nearly identical except each menu queries a sql database with the paramters set by all the previous (Make, Model, Year, Size) down the line. This code works in Chrome and FF, but in IE the default drop …

Member Avatar for hielo
0
175
Member Avatar for mrlol

Hi! I need help to install or actually to make this freesource code working... at the first time, the script is working very well.. but when i inserted [B]<form> ..script here.. </form>[/B] everything isn't working... can anyone help me with this? you guys can download the script at [url]http://www.dynarch.com/projects/calendar/download/1.8/JSCal2-1.8.zip[/url] please …

Member Avatar for morteza_ipo
0
593
Member Avatar for cb0058385

Presently I am learning JMS. I have knowledge on Java, Servlets and JSP. I am bit confused whether should I learn EJB or AJAX next. Please suggest which path should I take. And tell me, does AJAX comes in line with EJB,Hibernate,Struts. Thanks in Advance.

Member Avatar for cb0058385
0
151
Member Avatar for keyroche

Hello, I have my site set up so that everything is done with AJAX requests to a script depending on what action is taken. If my script returns an error - such as the user is not allowed to take the action they tried to take - it returns an …

Member Avatar for keyroche
0
7K
Member Avatar for minimogul

Is having a php slideshow a bad idea. I was seeking your opinion because I dont know how many people are doing this already but with php everyone can view it. I want to know the drawbacks and advantages to both. Just hoping to get the best possible advice thank …

0
198
Member Avatar for kardklub

I have used this piece of code which is working great. It allows me to add different items from combo boxes to my order form. The problem is that i dont know how to extract the data from my db to display in a form view when i want to …

Member Avatar for Airshow
0
141
Member Avatar for merse

It is possible to run dynamic web pages on a pocket PC without internet connection? I would like to read/write files using a browser on my pocket PC without internet connection.

Member Avatar for merse
0
174
Member Avatar for soft_coder

Hi! I am trying to create a callout using jquery but somehow the code is not working. [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <link rel="stylesheet" type="text/css" href="Scripts/Menu.css"/> <script type="text/javascript" src="Scripts/jquery.js"></script> <script type="text/javascript" src="Scripts/jquery.callout.js"></script> <!--<script type="text/javascript" src="jquery.callout-min.js"></script>--> <script type="text/javascript" src="Scripts/callout.js"></script> <title></title> </head> <body> <form id="form1" runat="server"> <ul id="myMenu" class="contextMenu"> <li class="insert"><a href="#insert" class="link" …

Member Avatar for Airshow
0
1K
Member Avatar for GrahamN

Hi, I wonder if someone could help, please. I'm having trouble with a drop down menu; it works fine in IE, but appears in a different position in Chrome and Firefox. If I alter the positioning, then it works fine in Chrome and FF, but not it IE. I've tried …

Member Avatar for GrahamN
0
93
Member Avatar for Nathan Campos

I'm trying to adapt the opensource code from the page [url=http://tlrobinson.net/iphone/lighttable/]Drag and Drop in MobileSafari[/url], here is a snippet of the code I've changed from: [code] function jsonFlickrApi(data) { for (var i = 0; i < data.photos.photo.length; i++) { var p = data.photos.photo[i], img = document.createElement("img"); img.src = 'http://farm'+p.farm+'.static.flickr.com/'+p.server+'/'+p.id+'_'+p.secret+'_m.jpg'; img.className …

Member Avatar for Airshow
0
283

The End.