jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for SerjSagan

I am throughly confused....why does this seemingly simple deal not work? [code=javascript] <script type="text/javascript"> <!-- window.onbeforeunload = function (){ var checkboxImg = new Image(); var checkboxImgUrl = "checkbox.php%3Flonger%3D" + reviews-chk-longer.checked + "%26discrete%3D" + reviews-chk-discrete.checked + "%26natural%3D" + reviews-chk-natural.checked + "%26thicker%3D" + reviews-chk-thicker.checked + "%26permanent%3D" + reviews-chk-permanent.checked + "%26stamina%3D" + reviews-chk-stamina.checked …

Member Avatar for SerjSagan
0
421
Member Avatar for businessglobal

I launched the following scripts but only the "Auto Start Page Rotator" page appeared. Can anyone please check if the codes are correct? [code=html]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Control page</title> </head> <body> <script language="JAVASCRIPT"> var Win; var page_index=0; var page = new Array(); page[0] …

Member Avatar for fabio70
0
222
Member Avatar for GAME

How would I be able to check if a checkbox is checked from a childform and use that information on the parent?

Member Avatar for finito
0
96
Member Avatar for andydeans

Hi, I was looking for a quick answer on this as i have been wondering what is the advantage of using javascript files in an includes folder rather than on page? So for example i have a javascript validation on my page, does it make a difference to the way …

Member Avatar for d5e5
0
73
Member Avatar for kds27

Does anybody know of a good script to display a .jpg in place of a .swf if Flash is disabled. Example: I have index.html as a regular Website with an embedded .swf If this is viewed on a SmartPhone, how can I have a .jpg auto load instead of Flash? …

Member Avatar for fxm
0
69
Member Avatar for Froger93

Hello Guys, Right my problem is, I am creating a slider where in which each element is slid (using animate width) into place. This is how it works, the element currently displayed is give a margin-left: of 842px (same as my slider width) and then a margin-top: of 300px (height …

Member Avatar for Froger93
0
185
Member Avatar for leiger

I'm trying to list a bunch of buttons vertically, but am having problems even getting that much done. I'm pretty sure I have the scroll pane working (it just isn't being used yet so I can't test it). This is part of an assignment so I'd prefer not to post …

Member Avatar for leiger
0
2K
Member Avatar for MDanz

i have a php code in a div. I'd like to cancel clicking on that div, until the page loads. i'm having the problem if i click on the div too fast which calls a popup div... it doesn't get the content from the php.. so it is a blank …

Member Avatar for scrappedcola
0
96
Member Avatar for fawad123

My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' …

Member Avatar for vsmash
0
169
Member Avatar for ShArKss

Hey Guys, So I'm making a webpage that has a form that is based on the selected section of the website... And I got a few questions/issues. [LIST] [*]Is it normal that I have to make a different name for a value from a section that needs a javascript (line …

Member Avatar for vsmash
0
275
Member Avatar for brenton_77

I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [url]http://www.w3schools.com/php/php_aja...p?output=print[/url] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an …

Member Avatar for vsmash
0
104
Member Avatar for beforetheyknew

Hi guys, I'm doing a dissertation on the skills necessary to do a CS degree, within which I'm going to design a website that assesses prospective CS students and their ability to cope with the harder more technical and analytical skills. I'm basically just looking for some experienced perspectives, brainstorming …

Member Avatar for Bluefox815
0
735
Member Avatar for mikev9359

I'm trying long distance learning & I'm having many issues. I was able to write a program that runs well using an IF loop. but now I am to use that same exact program with a WHILE loop & I just can't understand any explanation I receive from the instructor. …

Member Avatar for XP1
0
389
Member Avatar for bbman

Hey, I am looking to have a menu similar to the one on: [url]http://maplestory.nexon.net/[/url] I want it so that whenever any menu item is hovered, a whole menu shows. Anybody know how I would go about doing this? Thanks a lot

0
50
Member Avatar for culebrin

Hi, I have a website on NET 2.0, there I have a textbox and after I change the text on it with a js function, try to save on the DB (I have to click on a imagebutton to save it), but on the postback the textbox.text property has the …

Member Avatar for ja3_bhende
0
2K
Member Avatar for whinkz_zl16

[quote=peter_budo;269339]another think to keep in mind, if you take that script from somebody site it may not work properly/ at all because it need some data[/quote] hi,, i'm whinkz,,hmm juz wanna ask u how to run javascript program properly?,,,,i was juz doing a school report,,, i dont have any idea …

Member Avatar for dibakar borgoha
0
146
Member Avatar for Roshan_Jain

please help@ i plugin the thuderbird to my java class and now i want to store the thunderbird send ,save ...mails to local database how i can be connect thunderbird to database for this.

0
47
Member Avatar for SerjSagan

I have a table with a bunch of check boxes, this is not a plug: (found at [url snipped]), I am trying to figure out how to store each checkbox's value in real time (there is no "Submit" button). I run jQuery through my site and was thinking that PHP/jQuery …

Member Avatar for SerjSagan
0
326
Member Avatar for sureshrajanmca

cannot close the page in mozilla, so i set dom.allow_scripts_to_close_windows true manually. then i used window.close() its works fine. my problem is, i want to set dom.allow_scripts_to_close_windows enable true automatically using javascript code, its possible are not?

Member Avatar for kvprajapati
0
76
Member Avatar for niths

Hi all, i am having a page wer we can see a dropdown of projects and below that list of users with check box. so wen we select a project from dropdown,the page gets refresh and the assigned users for that project wil be shown as checked. this is done …

Member Avatar for pritaeas
0
79
Member Avatar for eswaramoorthy

Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" …

Member Avatar for eswaramoorthy
0
244
Member Avatar for ssnaphade

Hi dudes, I want to get a browser close event(X) in firefox browser. My Requirement: I have code for the same but it's works only in IE not in Mozilla. Application should alert me when browser close not for refresh page or navigate one page to another n it's should …

0
58
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Member Avatar for ms_sws
0
2K
Member Avatar for tech.b

hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # …

Member Avatar for samaru
0
176
Member Avatar for smith32

hello, can u plz help me?? I can't run the javascript on Mozilla nad IE(can run on Chrome) I don't know why. I think my javascript has some problem. Here is my code ..... [CODE]<script> function check() { if(document.getElementById("name").value==""||document.getElementById("address").value==""||document.getElementById("phone").value==""||document.getElementById("email").value==""||document.getElementById("username").value==""||document.getElementById("passwd").value==""||document.getElementById("passwd2").value==""){ alert("You need to complete the form"); } else continue; } function …

Member Avatar for Member #120589
0
126
Member Avatar for andydeans

Hi, this is probably a simple one for someone, but i have on my page a button rather than a text link. when they click cancel i want it to back to my details page but pass the parameter id back. so currently it is like this [CODE] <input type="button" …

Member Avatar for andydeans
0
134
Member Avatar for ekseks

Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 …

Member Avatar for ekseks
0
161
Member Avatar for adobe71

I want to create Google Custom Search TextBox that has background image and image disappears on onmouseclick and appears back on onmouseout. What is the code behiend it.Pls write the code. [B]THANX[/B]

Member Avatar for pritaeas
0
55
Member Avatar for vardhmansk

Hi. I have created an application wherein I am showing a large image inside a JScrollPane . As I move my mouse over the image within the jscrollpane i want to display the RGB values of the pixel under the mouse pointer on a status bar. I am able to …

Member Avatar for vardhmansk
0
241
Member Avatar for ekseks

Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight …

Member Avatar for ekseks
0
79
Member Avatar for wemustdesign

I have a form, I have successfully passed the username from jquery [CODE] $.post("http://www.photographycourses.co.uk/cpl/cplfunctions.php?action=checkUsername", { username: username} ); [/CODE] to php script. The php script checks the database to see if the username exists: [CODE] if ($num >=1){ echo= 0; }else{ echo= 1; } [/CODE] How do I pass the …

Member Avatar for Member #334542
0
93
Member Avatar for zaki_bwz

Hello. i have a trouble with my php and javascript code. I want to get database from form that use javascript that use onSubmit as form validator. It work when i refer to another page as addDb.php then add to database. I want to stay on current page then php …

Member Avatar for blackhole
0
220
Member Avatar for shawtee6875

INDEX.html Home Page 1. There is a banner ad at the top of the index page called banner1.jpg. Create a cycling banner ad using the 3 banner ad images supplied on the disk (bannerad1.jpg, bannerad2.jpg and bannerad3.jpg). Add a link to bannerad2 that will take the user to [url]www.example.com[/url] and …

Member Avatar for shawtee6875
-4
106
Member Avatar for SerjSagan

I have a table with a bunch of check boxes, this is not a plug:(found at [url]http://www.enhancementresearch.com/penis-enlargement.htm[/url]), I am trying to figure out how to store each check boxes value in real time (there is no "Submit" button). I run jQuery through my site and heard that simple data storage …

Member Avatar for SerjSagan
0
85
Member Avatar for dilansankalpa

hey thanx...!!! I found a graph plot library from [url]www.codeproject.com[/url] [url]http://www.codeproject.com/KB/miscct...hPlotting.aspx[/url] then i started my own project. i add the graphlib library to my project.. then I add the object PlotterDisplayEx into my project. but i cant add those start, pause, stop buttons and scroll bars to adjust speed and …

Member Avatar for dilansankalpa
-4
92
Member Avatar for Member #743490

Hey yo developers outta there. Mine is a simple question as this: How could I create rotation for IE? I know there's the filter function for this, but that can't rotate 45 degrees. So, if it is necessary I change my css rotate technics, to a jQuery or something. Now …

Member Avatar for Member #743490
0
111
Member Avatar for Uzumaki52

Hi, I have a Edit Button(which is a Image Button) and when I click that ImageButton a new browser window should open and it should load the values previously entered by the user. The new window should contain the old values and now should be able to edit them. For …

Member Avatar for jbisono
0
250
Member Avatar for fawad123

I have tested following code and it works fine in IE but not Mozilla: var ajax = false; if (window.XMLHttpRequest) { ajax = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { ajax = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e1) { try { ajax = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e2) {} …

Member Avatar for fawad123
0
386
Member Avatar for elneco

Hello Daniweb, i am having problems with the second button in my rather simple nav. i looked over the code a couple times but i can't seem to figure out why the hover is behaving teh way it is...perhaps someone with fresh eyes can help me out?? my nav: [url]http://elneco.biz/mynav/yeah.html[/url] …

Member Avatar for elneco
0
119
Member Avatar for shailendra_agra

Hello, Answer me I am adding multiple function onload in the body. IE showing the correct result but mozilla showing the problem like it showing the last function result in all function results. <body id="body" onload="showUser1('taj-mahal');showUser('taj-mahal');showUser2('taj-mahal');"> can anybody help on this,what is the problem??? and how to short out

Member Avatar for Member #120589
0
93
Member Avatar for dirnthelord

Ok, Here is the thing. I have a JPanel inside the JScrollPane. JPanel has many Images (as ImageIcons on JLabel). Now I want to make the auto scrolling to be happen when I place mouse over the JScrollPane or any child of its. I could do the scrolling to the …

0
85
Member Avatar for cloud09

In IE7 only, I have an issue with disappearing elements/styling. First, my h3 header disappears. The space that it occupies is partially there, but not text is visible, nor is the background or the bottom-border assigned to it. In addition, other divs below the h3 are missing their bottom-border. However, …

Member Avatar for scrappedcola
0
326
Member Avatar for Stephen901
Member Avatar for Stephen901
0
101
Member Avatar for niths

hi all, can we call the parameter like this. And pass the value to javascript.. [CODE]<?php $sql3="select userid from projectassign where projectassign='$projectassign'"; mysql_error(); $idresult=mysql_query($sql3); $idarry=mysql_fetch_array($idresult); ?> <td><select id="prolist" name="projectassign" onchange="return enable(<?php echo $idarry;?>)">//can we do like this.[/CODE]

Member Avatar for storm123
0
166
Member Avatar for murugavel84

Is there anyway to close the firefox using javascript without changing the about:config file?

0
105
Member Avatar for fawad123

My problem is very easy. I have written the following PHP code to generate the arrays of textareas: for ($i=0; $i<length; $i++) { echo '<textarea type="text" name="username'. $i.'" cols="60" rows="4" onkeydown="check_username(this.form.username'. $i. '.value)">'. $sentences_data [$i]. '</textarea> <span id="username_label"></span><br/>'; } The Java function is function check_username(username) { if (ajax) { ajax.open('get','testuser.php?username=' …

Member Avatar for fawad123
0
133
Member Avatar for Z_KiNGPiN

Google Maps Control in ASP.Net or something like that ... well to get to the point directly ... what i am searching for is embedding Google Maps in my ASP.Net page, want to use the Direction feature that Google Map provides. Now the problem is, although Google Map gives a …

Member Avatar for Z_KiNGPiN
0
216
Member Avatar for lonestar23

Hello, I am trying to resize an external website in an iframe using javascript, but have not found code that works very well. Anyone know how to go about it? Thanks in Advance!

Member Avatar for agfucious
0
239
Member Avatar for dks1383

Hi all I want to make a statistics script for my website by javascript I know that I can do it by this script: <script type="text/javascript" src="http://www.mywebsite.com/stat.php"></script> But I need to pass some parameters to stat.php for example I need pass the value of window.location how can I do that? …

Member Avatar for alexhernandez
0
79
Member Avatar for umandajayo

hi friends how to check file upload control empty or not in javascript? I m try to this way but it is not working [CODE]function Empty(){ var sValue.value = document.getElementById('file_input'); if(sValue == ""){ alert("ERROR: Project Image Should be Uplorded..!."); sValue.focus(); } } <input type="file" name="fileField" id="file_input" > <input type="button" value="Send" …

Member Avatar for umandajayo
0
127

The End.