15,116 Topics

Member Avatar for
Member Avatar for gunnarflax

Hi, I'm trying to create a javascript plugin but the problem is that the users of the plugin will most likely keep the plugin in another folder than me. So my options is to either let the user set in the plugin's directory in a variable into the javascript itself …

0
64
Member Avatar for bdicasa

Hi guys, I was wondering if it was possible to call a specific PHP function using AJAX instead of calling a whole page. An example: [code] function MakeRequest() { var xmlHttp = getXMLHTTP(); xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState == 4) { document.getElementById('provinceDiv').innerHTML = xmlHttp.responseText; } } xmlHttp.open("GET", "FindProvinces.php", true); xmlHttp.send(null); …

Member Avatar for tarmin68
0
1K
Member Avatar for selle05

Why is that when i click the button the sound will not play when i hide the player? I want the player to be hidden. I want when i click the button it will play. Please help me solve this problem. thank you.. some codes please?... thnx

0
68
Member Avatar for cocoll

Hello. i need your experience so that's what i want: first i don't know ajax but i know that ajax maybe what i need because i want to build a dynamic web page that it's composed from 4 categories each one a bloc so i have 4 bloc in each …

0
50
Member Avatar for freiheit

Does anyone know? I dont have experience in jquery , and as far i know by default all panels inherit the height of the 1st panel ,depending of the quantity of the content inside it. In the content of each panel will be dynamic content, of different size thats why …

Member Avatar for freiheit
0
118
Member Avatar for nizuya

My goal is to preload these images for an image swap on the page. It runs on body load but I'm not quite sure why it doesn't work... [CODE] function preload() { imageObj = new Image(); images = new Array(); images[0] = "images/globe2.jpg"; images[1] = "images/stickme2.jpg"; images[2] = "images/monitor2.jpg"; images[3] …

Member Avatar for fxm
0
224
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
224
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
103
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
107
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
75
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
11K
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
60
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
231
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
151
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
42
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
101
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
137
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
207
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 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
88
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
266
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
85
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 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
52
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
87
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
95
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
137
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
365
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
167
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
41

The End.