jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for nostalgia149

This is the script code i used for getting a slideshow of pictures.. can u help me with simple codes so that all these pictures can be retrieved from the database??? or let me know if i m getting wrong?? [code=JavaScript]<SCRIPT LANGUAGE="JavaScript"> <!-- Original: Mike Canonigo (mike@canonigo.com) --> <!-- Web …

0
67
Member Avatar for Mortez Maya

Hi, in my project I'm using following javascript code to print my page [CODE]<script language="javascript" type="text/javascript"> function CallPrint(strid) { var prtContent = document.getElementById(strid); var WinPrint = window.open('','','letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0'); WinPrint.document.write(prtContent.innerHTML); WinPrint.document.close(); WinPrint.focus(); WinPrint.print(); WinPrint.close(); prtContent.innerHTML=strOldOne; } </script> [/CODE] Now question is that how can I know printing document is finished ?

Member Avatar for FlashCreations
0
73
Member Avatar for polo_coins

I have a menu and I want when I mouseover them it change their color and style .Are the any suggestion?

Member Avatar for Troy III
0
324
Member Avatar for drugoholic

Hello, I have this reservation form found on the main page of: [url]http://www.avis.com.lb/[/url] As you can see the current month "August" is selected as the default month and so is the year and day (the day is programmed to jump 2 days ahead for the renting of the car...) However …

Member Avatar for essential
0
2K
Member Avatar for db11

if i have a java interface on a website and that interface contains a box where a user enters a string and then submits it. If I wanted to rapidly submit strings from a list I had (in a text file say), how would I go about doing this? I …

Member Avatar for db11
0
113
Member Avatar for avaitla

I was wondering if anyone could help me out with this issue. I am creating a basic function that will handle movement of an item that is absolutely positioned on a webpage (function moveElement). I begin with the onload event item which calls function prepare which calls function moveElement with …

Member Avatar for Troy III
0
120
Member Avatar for groogruxking40

here is my code [code]<input type="submit" class="button" onclick="window.open('http://wwww.christiancouriernewspaper.com/upload.html',Upload','width=400,height=400')" name="<?php echo $form_id; ?>" id="<?php echo $form_id; ?>" value="<?php echo $submit_text; ?>" alt="<?php echo $submit_text; ?>"<?php echo $x_or_h; ?>><br<?php echo $x_or_h; ?>>[/code] if you go to this page.. www dot christiancouriernewspaper dot com / blogbase / contactpage.php you will see the SUBMIT …

Member Avatar for noelthefish
0
59
Member Avatar for Ranjeet_08

Hi all, I have a problem in javascript , ajax and jsp. Please see this url [url]http://xil.co.in/print_screen_2.JPG[/url]. I am working on this form. There are sum buttons (like submit , add ,edit at bottom of this page , but not visible in printscreen). On click of a radio button on …

0
60
Member Avatar for mortalex

Hey, I'm trying to create a dynamic drop down box where the first drop down box populates the second drop down, but it isn't working. I have two tables; pricelist with fields, -id -groupname -item -price groups with fields, -id -groupname I've got the code and to me it looks …

Member Avatar for leadinnasirawan
0
149
Member Avatar for moiseszaragoza

Hey I am trying to know what is the value of of a check box (true, or false) but i cant seem to get it write [CODE] function getPrice(boxName){ alert(form1.Soft_Top_Cloth.checked) // Hard code box name it works alert(form1.boxName.checked) // passed threw variable not working } [/CODE] [CODE] <input type="checkbox" name="<%= …

Member Avatar for Airshow
0
87
Member Avatar for anish.anick

Hi All, I need to cache some javascript variable values across the page. Consider page 1 has a javascript variable which holds some value and If the user take page 2 and clicks the browser back button the javascript variable value on page 1 will be lost. How can i …

Member Avatar for Troy III
0
116
Member Avatar for garyfrost

Hi I want to include two sets of javascript on one page and in doing so one of the functions stops working. Here is the scripts I am trying to use: 1. [code]<script type="text/javascript" src="slider-js/jquery.js"></script> <script type="text/javascript" src="slider-js/easySlider1.7.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#slider").easySlider({ auto: true, continuous: true }); }); </script>[/code] 2. …

Member Avatar for ShawnCplus
0
97
Member Avatar for genesistr

Hi, I have timer class and some classes use timer. but when i come back from timer with callback function, i can see this. properties. [CODE] function Timer(dName, dCallback){ this.timer = null; this.name = dName; this.isRunning = false; this.interval = 50; this.callback = dCallback; } Timer.prototype.Start = function() { this.timer …

0
78
Member Avatar for UncleJoe

I have an array of div elements that apparently is too long, but I need all the divs for my dragNdrop application. Could someone suggest a work around? The dragNdrop initialization is... [code=javascript] var elements=['div1','div2','div3',.....,'div400']; //Doesn't work properly var elements=['div1','div2','div3',.....,'div200']; //Works properly window.onload = function() { elements.each( function(item) { new …

Member Avatar for Airshow
0
1K
Member Avatar for wblakenc

Hello all, I have run into an issue with an JavaScript expand menu (you click a menu option a sub-menu shows, moving the other main navigation menu options down). Well I have designed a nice custom script to do just this. The problem is, how do I keep that sub-menu …

Member Avatar for wblakenc
0
126
Member Avatar for dthatsme33

I am creating an classifieds section for the newspaper that I work for. I am able to get the ads to display and search them. I want to add a few features: Save ad Print ad E-mail ad Does anyone know how to do the Save Ad feature? Basically you …

Member Avatar for Airshow
0
82
Member Avatar for manizzi

hi guys? Im new to this so please bear with me. I have not seen a practical example of what I am trying to do so i'd appreciate any help I get. The code below contains a form with a number of fields. I am trying to query the database …

Member Avatar for manizzi
0
150
Member Avatar for JohnNemec.com

Is there a way to count the number of items in a option list? I have an alphabetical list and when you select a letter a select option list will populate with links. I would like to display to the user how many links are in the box. The code …

Member Avatar for JohnNemec.com
0
157
Member Avatar for Qasim Ali

hi I have a freetextbox, a hiddenfield and a button on my web page. By pressing the button it insert the text from hiddenfield into freetextbox at current cursor position. I am doing this task using java script. when I run the webpage it give me Object required error. The …

Member Avatar for jaylenong
0
209
Member Avatar for BlackPhoenix

Hi everyone I have an idea for something but not sure which method would work best to provide the desired result. Let's say I have a database up and running, storing data for 2 users (php and mysql). What I want to achieve is: having 2 clients on the page …

Member Avatar for BlackPhoenix
0
201
Member Avatar for THEMARKER

hello there, I 'm new to this, but I'll appreciate it if someone could help me with my script I'm writing a javascript that add's site to favortites. It works fine in IE but not in anything else. This is for a clients site who uses Mac and linux. I …

0
47
Member Avatar for drugoholic

Hey there, I'm facing a problem with a calculator on my site, you can see it here: [url]http://axa.seomena.com/fr/calculez-vos-primes/calculez-vos-primes-assurances-medicales[/url] The problem is, when you choose the "number of family" whether you're a family of 1 or a family of 6 and more, (in the next step) if you choose anything but …

Member Avatar for drugoholic
0
85
Member Avatar for mana_panigrahi

Hi All, I am fresh to php.Please help me in following scenario. I am trying to enable/disable a text by selecting 'Yes' or 'No' option of a combo box which is available on same page. Note: It should only work with 'Yes'/'No' option selection not with a submit button click. …

Member Avatar for BzzBee
0
2K
Member Avatar for arunajasmine

HI, i am new to JQUery and Ajax.I am trying to use the value returned from the Ajax call to the another Ajax call.. like [CODE] $.ajax({ type: "POST", url: "http://localhost/FormBuilder/index.php/forms/saveForm/", async: false, data: "formname="+formname+"&status="+status, success: function(msg){ //alert( "Data Saved: " + msg); getformid=msg; }//success });//ajax $("#fb_contentarea_col1down21 div").each(function() { //alert("Form …

0
79
Member Avatar for sanjayrawat177

hi i have one problem in my project what i m doing is populating the select box from data base. When user presses F3 button in select box, a pop up window will open which will allow the user to enter new value ,which will first go to database and …

0
50
Member Avatar for Phollos

[B]What it is now:[/B] I'm working on a personal blog because I'll be visiting Sweden for 4 months. I've found / hacked a script that allows the user to mouseover swedish words and have a static translation box show the translation. Working site at [URL="http://sverigejourney.tumblr.com"]http://sverigejourney.tumblr.com[/URL] The current code I use …

Member Avatar for Airshow
0
236
Member Avatar for thatguy888

Hey, Man... I know this is so easy and yet I can't get this to work. I have a url that I want to pass a simple variable with: [url]http://www.somerandomsite.com/index.php?page=1[/url] Here's what I have on the destination page: [QUOTE] <?php $page=$_GET['page'];?> <?php header( 'Location: http://www.anotherrandom.com/?pid=$page') ;?> [/QUOTE] However, the destination …

Member Avatar for thatguy888
0
100
Member Avatar for TheWhite

Well, I'm doing pretty good with my WebChat application, but I was thinking to add some smileys! At first, I would like the app to auto detect the smileys in standard form from a given string and place the image in its place, but I came across the problem: how …

Member Avatar for TheWhite
0
503
Member Avatar for quibbie

I am looking for an autofill script to use with with a point of sale system. We would like to hook a credit card reader to our computers and when we swipe the credit card it will autofill the customers information the fields so it does not have to be …

Member Avatar for Airshow
0
120
Member Avatar for surekhavk

have a javascript in which i am trying to assign the value to a hidden field and getting the below msg 'document.Form1.H_ROWID' is null or not an object i am getting the value in the alert box but not able to assign it o teh control [code]alert("row " +M_ROWID) document.Form1.H_ROWID.value …

Member Avatar for essential
0
210
Member Avatar for Ana D.

Hi, In the page I'm developing, I need a DropDownList where the items have CheckBoxes beside them. I found a lot of different suggestions on the internet about how to do it. Some suggest to use a ChebkBoxList, javascript and css and make the CBL looks like a DDL (a …

Member Avatar for Ana D.
0
85
Member Avatar for gaya123
Member Avatar for Xessa

Hey; i have a table and rows. For example two texts In one row my text is "Helegelemere" In another row my text is "More" But in my JSP page they don't seem identical. For example It looks like Helegemere More And because of after every word i have a …

Member Avatar for essential
0
86
Member Avatar for sivakumarl

Hi Friends... I developed web application which contains script validations in most of the html pages in these validations i used document.forms[0] its working fine in IE , but my problem now i need to execute this application in FireFox browser,but FireFox is not supporting document.forms[0], so please tell me …

Member Avatar for essential
0
237
Member Avatar for groogruxking40

OK- this code is working just fine on Firefox. this is what's suppose to happen: you go to the website, a pop-up comes up, you click the pop-up and another window opens up to register for site.. see it here www . christiancouriernewspaper . com / popuptest.html (try in both …

0
52
Member Avatar for solahere

Hello Everyone, I had a small problem in my page. There are some select menus that the user can select and there is a download button which on click should allow the user to download a file based on the selected options...I used the following code under the onclick event …

Member Avatar for solahere
0
118
Member Avatar for arunajasmine

in my application i am using Ajax post like [CODE] $('#fb_contentarea_col3 #fb_contentarea_col1down2 #saveForm').live("click", function(){ if(!$("#formName").val()==""){ if(saveDraft=='on') status="Incompleted"; else status="Completed"; var formname=$("#formName").val(); $.ajax({ type: "POST", url: "http://localhost/FormBuilder/index.php/forms/saveForm/", async: false, data: "formname="+formname+"&status="+status, success: function(msg){ getformid=msg;//returned FOrm id is saved in the JQuery variable }//success });//ajax $("#fb_contentarea_col1down21 div").each(function() { alert("Form id "+getformid);//alerts me …

Member Avatar for arunajasmine
0
157
Member Avatar for Cheeki

Hello guys, I don't know if there is already a solution for this but I'm having a lot of problems with re-loading the Ajax div tags. At the moment I have two div tags in my main index.php file, called "flowchartDiv" and "buttondataDiv". Now what I'm trying to do is …

Member Avatar for essential
0
224
Member Avatar for jonny_java

Hi All, I hope someone can offer some help / advice. I need to plot a fairly simple line chart/graph, using some data generated previously from another Java program (run from the console) that is output to a text file. I'm really struggling trying to produce a viewable line chart/graph …

Member Avatar for jonny_java
0
357
Member Avatar for jeezcak3++

I am trying to download the full videos behind this flash player. Please investigate. Thanks! HTTP link: [url]http://www.3dbuzz.com/vbforum/simplevideo.php?v=2064[/url] [CODE=javascript]<html> <head> <script type="text/javascript"> window.focus(); </script> </head> <body> <div style="position:absolute;left:0px;top:0px;width:100%;height:100%;" id="container"> </div> <script type="text/javascript" src="/vbforum/swfobject.js"></script> <script type="text/javascript"> document.getElementById("container").innerHTML = '<a href="http://www.macromedia.com/go/getflashplayer"><img src="/images/sx/youneedflash480.jpg" width="640" height="516" border="0"></a>'; /*var s1 = new SWFObject("http://www.3dbuzz.com/vbforum/mediaplayer4.swf","mediaplayer","100%","100%","9.0.124.0"); s1.addParam("allowfullscreen","true"); s1.addVariable("file","2064&q=0.mp4"); …

0
103
Member Avatar for sivak

i am very new for ajax..can anyone send me the link or material to learn ajax plz

Member Avatar for DdoubleD
0
57
Member Avatar for solomon_13000

I have been trying to get this form to work but it just dont seem to work. The buttons does nothing but keeps pointing to the same form. This is for the mozilla browser. Did I miss something? [code=html]<html> <head> <title>Admin</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="../_assets/skin/cms.css" rel="stylesheet" type="text/css" …

Member Avatar for Airshow
0
129
Member Avatar for rapture

Hello all, I've submitted something similar in the asp.net forum so if you frequent both you'll see it in both places. I'm curious if javascript or ajax can help us accomplish some of our tasks, here is the post in the other thread: Hello all, I'm a bit newer and …

Member Avatar for essential
0
160
Member Avatar for polo_coins

Hi,I have maybe stupid question but are anyway to build "forum" on javaScript or Html without using SQL or ASP maybe there is way client send his information directly to the page? Thanks,Sergey

Member Avatar for DangerDev
0
138
Member Avatar for polo_coins

I want reset user choice of radiobutton here is my code [CODE=javascript] form action="mailto:meerovichsergey@gmail.com" method="post" enctype="text/plain"> <fieldset> <legend>Your opinion</legend> <input type="radio" name="choice" id="op1" value="All was perfect ,answer to all question." >&nbsp All was perfect ,answer to all question.<br/> <input type="radio" name="choice" id="op2" value="Arcticle is good,but there are a things to …

Member Avatar for essential
0
173
Member Avatar for darab

hi I have a textbox and i want when i type on it my textbox read it in many langueges how is it possible? plz with code snipped

Member Avatar for darab
0
99
Member Avatar for polo_coins

I wrote this code bellow but it doesn't work how I get to [B]bgcolor[/B] of [B]tr[/B] tag? [CODE][COLOR="Red"] <table id="menutable" name="table1"> <tr onmouseover="ChangeCol()" id="tr_1"><li><a href="main.html" name="main" target="main">Main Page</a><br/></tr> <script language="JavaScript" type="text/javascript"> <!-- function ChangeCol() { var col="#998800"; document.menu.tr_1.bgcolor=col; } //--> </script> [/CODE][/COLOR] thanks.Sergey

Member Avatar for polo_coins
0
195
Member Avatar for aosmith

I'm having an issues with this script from my own debugging it appears that the readyState is doing the following 1 ... 4 ... 1 ... 4 the second time it appears not to have any response so I end up seeing my content shortly (if all my debugging alerts …

Member Avatar for aosmith
0
184
Member Avatar for Bhilal

I am new to AJAX. that's why I ask it to you. i search it in daniweb and google but i decided ask it. anyway, my question is : how can i dropdown list from database like google. I want to use it in searching the word in a dictionary …

0
66
Member Avatar for eamonn_henry

I really am stumped by this problem and would appreciate some help.. I am tryiing to build a site on a computer running Wiindows XP and using, mainly, FrontPage 2003 although I have also used Notepad to try and solve a problem that has arisen. The problem is that IE6 …

Member Avatar for fredricksmith
0
123

The End.