jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for pietpiraat

Hi everyone, i have a piece of javascript that calculates 2 input fields (price * qty) whenever i type in the input field (qty) that uses this : [CODE]onkeyup="update(this);"[/CODE] Now what i want is to execute this handling when the page loads, because sometimes there are already values (php & …

Member Avatar for hielo
0
235
Member Avatar for lifeworks

Hi I have a photo gallery... I was wondering if its possible using DOM scripting, to dynamically add a div around an existing image, making the new div the image's parent?! Thanks

Member Avatar for hielo
0
109
Member Avatar for raul8

In the code below, I am using QueryString to check the variable status. If it is 'success' then it should display "deletion successful". I am passing url = [url]http://localhost:9999/EmModule/EmpForm.jsp?status=success[/url] But, it is not displaying any alert. Note: I am using JSP page, and am rookie in it. Thank You [CODE]<html> …

Member Avatar for hielo
0
121
Member Avatar for musman007

HI I am trying to get rid of this warning over and over. My pages are located in directory WEBSERVER\APPLICATIONS\WC Master pages in WEBSERVER\APPLICATIONS CSS and Javsasripts are in WEBSERVER and in css I have background:url(Images/GlowTab.png) no-repeat right top; Dont know even though the image gets accessed by Https. why …

Member Avatar for hielo
0
84
Member Avatar for madkat3

I'm using an image as my submit button. I want it to check to ensure all boxes have a value before submitting (I will make the verification more stringent later), and if there is none, to cancel the form submission. I created a readonly input box that changes from white …

Member Avatar for madkat3
0
12K
Member Avatar for beluga

Hello, I am little stuck with . It is not populating the errors for me, rather it is loading the page without . Attaching my code: [CODE]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "struts-config_1_2.dtd"> <struts-config> <display-name>CSV File Upload</display-name> <description>CSV File Upload</description> <form-beans> <form-bean name="FileUploadForm" type="example.struts.FileUploadForm"> …

Member Avatar for java_programmer
0
155
Member Avatar for frmsasp

Hello there, Currently I am working with the project which needs dynamically generated checkboxes and i have generated dynamic checkboxes but i am facing problem with getting the vaue of selected checkboxes. Problem is described below in detail to easily understood, so please let me know if you come to …

Member Avatar for nathantownsend
0
806
Member Avatar for shadiadiph

It's not really a big problem but my code keeps spitting out this error on mozilla when the auto fill boxs pops up on a form feild does anyone know a fix for it? [code] Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS …

0
70
Member Avatar for jmaddy10

I am trying to set up the code so that the it takes the user from one form to a thank you page, then to another form and have some of the info from the first (last name, first name, email) into the second. I managed to get the code …

Member Avatar for jmaddy10
0
247
Member Avatar for nizuya

I set the min-height of an object on my page based on the size of the window. It works perfectly in all browsers but IE (of course). How can I fix it? [CODE] function resize() { document.getElementById('container').style.minHeight = window.innerHeight + "px"; } [/CODE] The function runs on body load and …

Member Avatar for nizuya
0
161
Member Avatar for selle05

How to use a function in javascript to embed a sound file? There is an event that when you click a button then it will play the song. Please help me with this. Thank You!...

0
50
Member Avatar for Aamit

I am using IFrame to load a webpage into it. When the page is getting loaded into the IFrame the status bar shows the actual link of that webpage i.e. "Waiting for http://www.abc.com/index.php". So, [COLOR="Red"]I want to hide this status message or change it to something else.[/COLOR] [CODE] <script type="text/javascript" …

0
73
Member Avatar for raul8

I have 2 java Servlet files EmpRecord & Delete. Employee has a button of delete, on clicking it....page will be redirected to Delete.java Here the record will be deleted. Now, I want to redirect Delete.java back to EmpRecord.java where the message "Record deleted" will be displayed. How can I pass …

Member Avatar for fxm
0
121
Member Avatar for ekseks

So basically guys, the datepicker is connected to three fields (drop downs for..) [Month]/[Day]/[Year]-[Datepicker(Calendar)] now I just wanted to get the dropdowns' values and pass it on a textbox (namely: selectedDate - you can see below) having a format of [[U]mm/dd/yyy[/U]] thanks for the help experts. Code from [url]http://keith-wood.name/datepick.html[/url] [CODE]// …

Member Avatar for madkat3
0
163
Member Avatar for Varinor

I have an "input" page that allows someone to check a box which activates a datetime function, the page then returns to a display. My problem is that the input page can be relaoded and the box reticked, overwriting the displayed datetime. As the page reloads with the box showing …

Member Avatar for madkat3
0
240
Member Avatar for Designer_101

Hi, Im just starting to use the codeIgniter framework and Im developing a blog application. However I need a textarea where the user can change text to bold or change the colour just by selecting it and clicking a button above the area. Much like the daniweb reply form but …

Member Avatar for raju_boini525
0
932
Member Avatar for raul8

In the code below, the updates are performing successfully, but the page is not redirecting Please Check: [CODE] out.println("<html>"); out.println("<head>"); out.println("<script>"); out.println("function redirect()"); out.println("{"); out.println("window.location='EmpForm.jsp'"); out.println("}"); out.println("</script>"); out.println("</head>"); Class.forName("org.gjt.mm.mysql.Driver"); con = DriverManager.getConnection("jdbc:mysql://192.168.101.98:5501/TestNJ", "testnj","testnj"); st=con.createStatement(); query="UPDATE emp1 SET E_Name='"+EName+"',E_Address='"+Add+"',E_Dept='"+Dept+"' WHERE E_ID='"+EID+"'"; st.executeUpdate(query); out.println("<body onload='redirect()'>"); out.println("</body></html>");[/CODE]

0
77
Member Avatar for geoNeo_

hey guys! I'm new at ASP, and I hope that could please ask for some advice. Basically I got a little test website that i am experimenting with, what I would like to to if the main page of the web site loads that in one of the tables that …

Member Avatar for geoNeo_
0
109
Member Avatar for nizuya

I'm writing a form that will include a place to upload a pdf. I would like the upload section to be a separate form in a popup. After the user successfully uploads a file I want the original form/window to update with a link to the uploaded file and a …

Member Avatar for zeah
0
2K
Member Avatar for george61

I'm trying to make a snake game first on javascript then I'll rewrite it on maybe Flash. After reading some sources I've got some questions. First of all let's see the alghorithm of creating playfield: [CODE]<script type="text/javascript"> var height = 20; //height of the game area var width = 30; …

Member Avatar for gusano79
0
111
Member Avatar for valonesal

Is there a way to set tinymce so that the user can post text and html in the same box without having to open the html box to enter code? I have seen on other sites where you can enter text and then some html and it comes out fine …

Member Avatar for valonesal
0
104
Member Avatar for judithSampathwa

Hi there, I have a form that loads data from the database and the and tose data are being disabled so that the user can’t edit any information on it. In the same form I have two radio button as received and denied, Weh I select deny another small form …

Member Avatar for nick.crane
0
186
Member Avatar for bsewell

Hi all, I'm trying to develop a javascript to display a few images in a div. The plan is to get two pictures which will act as next/last image, but I'm stuck for running the script when the page loads, which is using the onLoad function in the body tag. …

Member Avatar for fxm
0
282
Member Avatar for Silvershaft

Hey I was thinking of making a safari extension that puts a bar and updates your RSS news there. Extensions are coded by using JSS, HTML5, and CSS so I need a JS library with those capabilities to parse RSS :) Thanks!

0
95
Member Avatar for masoudnia

hi I want to detect input language of client. so i tried in java script with(navigator)it dosent work for my perpose i also used ( HTTP_ACCEPT_LANGUAGE) it return system language not keyboard language? what i must do?

Member Avatar for fxm
0
3K
Member Avatar for brenzor

Hi I am busy with a google map, and I have the 'to here' 'from here' directions on my info window, but i have a problem. When i type in an address for the directions, it links me to the google maps site, but i get a message in the …

Member Avatar for virtuemart
0
255
Member Avatar for sharonig

Hi, I'm using AJAX in a rich-client environment (no UpdatePanel, everything is done by the client). I use the ListView. It appears that when I have many rows it is very slow especially in row additions/removals. Using the profiler I saw that even when adding a row the ItemTemplate is …

0
61
Member Avatar for aqhulcus

this may be related to passing php variables to javascript, but say i have an ajax function ( call this file1.php) that calls a php file ( call this file2.php) that itself has ajax in it. which, say calls for a file3.php in file1.php, i collect information that i put …

Member Avatar for aqhulcus
0
101
Member Avatar for GriffinMex

I have an scrolling side dhtml 9 menu anchored in a cell. The starting coordinates are offset x and y. What I am trying to achieve is that when the page starts scrolling, the offset changes to a different x,y coordinate closer to the top so my menu doesn't end …

0
109
Member Avatar for alexgv14

I am working on a search function on RoR that basically just has a cool visual effect when a user clicks the search button. Here is the code in my view for search.rhtml [CODE]<html> <head> <title>Tutor</title> <%= javascript_include_tag :defaults %> </head> <body> <h1></h1> <%= form_remote_tag :url =>{ :action => :search_results …

0
150
Member Avatar for newbies1

Hello everybody, I read this forum sometimes, but this is my first post :) I have a simple function for an intranet site that should make and return a XMLHttpRequest object in most browsers (including IE8): [code=js] function createXMLHttpRequest() { var xmlhttp = false; if (window.XMLHttpRequest) { xmlhttp = new …

Member Avatar for newbies1
0
416
Member Avatar for srdva59

hi, i looking for a way to resize a picture of any any to a custum size. in this moment i have pictures bigger than 3200px and i looking for a script that can handle that, the last script that i have tested simple "explode" with pictures bigger than 1800px …

Member Avatar for smilingrose
0
104
Member Avatar for webdev5

I have this function: [code=javascript] function correctBookmark() { var title = "SERCO Benefits"; var url = "http://wwww.example.com"; if (window.sidebar) { // firefox window.sidebar.addPanel(title, url, ""); } else if (document.all) { //MSIE window.external.AddFavorite(url, title); } else { alert("Sorry, your browser doesn't support this"); } } [/code] If I use an onclick …

Member Avatar for fxm
0
174
Member Avatar for colossally

Hi all This site doesn't have a forum for end users and I'm sure that's for good reasons, but I'm a web designer doubling as an end-user for a particular client. Their website (built with dotnetnuke) simply does not want to load completely on my laptop, which has Windows 7 …

0
45
Member Avatar for srdva59

hi, i looking for a way to use a auto fill for a inputbox text but all that i found is using a mysql bd. there is any solution using a txt file? stored in server. thanks a lot for your help :)

Member Avatar for EverWebby
0
55
Member Avatar for nish123

Just a small query..!! how can i stop user to enter future date.. or user can enter or user can enter future 10 days..! Thnx

Member Avatar for fxm
0
2K
Member Avatar for jimmiller96

Hi All! I have been working on a site containing a single Paypal 'Buy Now' button, but testing has shown that it takes anywhere from 8-20 seconds to load the Paypal page once the button is clicked. Since there is no indication that the button was successfully clicked, or that …

Member Avatar for jimmiller96
0
170
Member Avatar for navi17

Hello friends, I am working on downloading script. its working fine in all browsers. but in IE when i click on download button its showing the size of every file zero bytes. I have done lots of googling but didnot find anything. Please help its very urgent. I am using …

Member Avatar for navi17
0
147
Member Avatar for hif

hello. i need to know how i can write an onactivate function for the hyperlink that is clicked. each hyperlink identifies a different directory and i assigned each of them with an id equal to their directory. the onactivate function (actv)is meant to receive this id in a string and …

0
79
Member Avatar for binesh.uba

I have downloaded the new version of FullCalendar but it doesnt work on IE whereas it works smoothly in other browsers. Can anyone help me with this problem ???

Member Avatar for binesh.uba
0
298
Member Avatar for nizuya

I want to have a strip down the middle of the screen with my websites content as common on many web pages. I don't want to use background images to achieve the look, rather I was thing of having a div tag that would fill the entire height of the …

Member Avatar for almostbob
0
159
Member Avatar for griffinmt

I have a small application that tries to launch a slide show for a set of pictures (jpg). It is implemented by a timed ajax routine to get the next picture filename and updating the image src field to show the next picture. The problem is that the actual down …

Member Avatar for fxm
0
182
Member Avatar for sridharjakkula

Hi, I have one client applicaiton writtn html, java script and AJAX and a remote server where I have a php script. Browser and remote server are deployed on two different machines. I want to execute php script uing ajax call with below code but it is loading php page …

Member Avatar for sridharjakkula
0
191
Member Avatar for alexgv14

[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar.

0
54
Member Avatar for niths

My page contains a date picker. so when i select a date, a table with list of images uploaded on that date wil be displayed.so for that i used ajax. so here is my problem wen i select a date, table appears and in that table a dropdown of users …

Member Avatar for Member #120589
0
191
Member Avatar for Chandrima31d

While making the Administrator's Access page, I want to use editable gridview for insert/update/delete records from existing database.. any idea how to do this easily? (without hazards of drawing tables through html). I've checked out the following [url]http://www.ajaxdaddy.com/tablekit-sortable-tables.html[/url] But can't figure out how to link with running data from MySql …

0
40
Member Avatar for hindu times

Any idea why the iFrame resize code would stop working when I copy the code over to another page? It works fine here: [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL]. But when I copy the code over to another page ([URL="http://www.rjt-online.com/video.php"]www.rjt-online.com/video.php[/URL]) in it's entirity, and just change the urls, it stops working?

Member Avatar for fxm
0
382
Member Avatar for Stefano Mtangoo

Hello, I need to load JQuery UI tabs ajax call. I have made tabs and works well with my projects. I have problem in using ajax to reload one of the tabs using ajax call. When user select another thing in Drop down menu I have no way to reload …

Member Avatar for Stefano Mtangoo
0
129
Member Avatar for gloriak

I have been having trouble with getting JavaScript to work on my pc. I use Mozilla Firefox and JavaScript is enabled. I checked IE 7 and JavaScript is enabled there as well. I do not know where to go within to get it to work. I also have Adobe reader …

Member Avatar for maceman
0
37
Member Avatar for Qcdms21

HI DANIWEBBIES, this is my prob. <% if trim(rs2.Fields("loan_approve"))="Yes" then %>Approved<% else %> <a href="loan_approve.asp?id=<%rs2.Fields("stud_id")%> in this line of code , wht is the function of trim ? plz fill me in on this. help appreciated.

Member Avatar for superarun
0
108

The End.