jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for jagadeshms

I wrote a simple code in java script and it is working fine with IE and not in Firefox but the out put in php array count is correct in IE but not correct in Firefox[code]I wrote a simple code in java script and it is working fine with IE …

0
66
Member Avatar for Midnite000

I want to make my current song playing update with AJAX on my page every time that the song name changes I can get the variable to post in the page but currently use a meta-refresh based on time of file or every 30 sdeconds ... what I would like …

0
42
Member Avatar for AdventDeo

Any ideas on how to make the following code work for both IE and Mozilla? [CODE]function AddRow() { if (navigator.appName=="Microsoft Internet Explorer") var morerow=document.getElementById("tbl").getElementsByTagName("tbody")[0]; else if (navigator.appName=="Mozilla") var morerow=document.getElementById("tbl"); var newtr=document.createElement("tr"); var xtra=document.getElementById("xtra"); var dname=document.getElementById("dname"); morerow.appendChild(newtr); var newtd0 = document.createElement("td"); newtd0.innerHTML = xtra.innerHTML; newtr.appendChild(newtd0); var newtd1 = document.createElement("td"); newtd1.innerHTML = …

Member Avatar for parry_kulk
0
419
Member Avatar for AdventDeo

[CODE].... <table id="tbl"> <div id="xtra" style="display:none; visibility:hidden"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div> <div id="dname" style="display:none; visibility:hidden"> <input name="Name[]" type="text" size="35"> </div> </table> .... <input type="button" name="Add" value="More Company" onclick="return AddRow();"> .... //the following javascript function is saved in another .js file which is then called from the main php file when the …

Member Avatar for AdventDeo
0
180
Member Avatar for dalip_007

Hi, Can any body please help me getting my problem solved. I am making a sign up form, and i want to show "id not available" or "available", while user looses focus from a text box , without submitting the form. same as it happen in twitter while signing up. …

Member Avatar for Will Gresham
0
62
Member Avatar for metalstorm

hi all, ive downloaded the DHTML window script from here : [url]http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm[/url] and have it running on my site. i also have a DTHML / ajax chat running on the site which is currently on the main page in an iframe. im trying to put this iframe inside the DHTML …

Member Avatar for metalstorm
0
97
Member Avatar for kumiyare

I have a slideshow of quotes based on the "Ultimate Fade-in slideshow (v2.1)" at Dynamic Drive: [url]http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm[/url] This is right under my navigation bar, and the drop-down menu items are hidden behind the javascript slideshow. Some background: The reason I did it this way because I first started out with …

Member Avatar for kumiyare
0
329
Member Avatar for Lightninghawk

Below is a code I have been using on Google Earth to have the ability to use optionally expanded tables within the balloon that is open for each placemark. I want to know if there is a way I can alter the code so that when I expand the table …

0
84
Member Avatar for veledrom

Hi, I have a vertically sliding image gallery but the problem is when all the images are showed up one by one, it leaves long gap until it starts again. I want something without any space between. I mean no break, no picture-less space. Obviously all the images will have …

Member Avatar for almostbob
0
95
Member Avatar for metalstorm

hi all, i dont know exactly how to explain this but ill give it a go. What im looking for is to have a database hold a list of images ( or numbers that corrospond to images)... that should be easy enough. The part im having trouble with is having …

Member Avatar for metalstorm
0
116
Member Avatar for santral06

hi, I ve form with checkbox in php. <input checked="true" type='checkbox' name="checkbox" /> <input type="hidden" name="id" value="deger" /> as we see , this code send "id=deger"... but I want this : if user uncheck checkbox, then it wont send "id= deger" how can I do this ?

Member Avatar for Alcaro
0
40
Member Avatar for ithelp

It says error in line 13, code 0, object expected, the clicking on member login does not show login and password text box :-( .

Member Avatar for ithelp
0
50
Member Avatar for rori

i have a website for properties (rent, sell, etc), using php and mysql. i allow the admin to manage existing properties by selecting the property id from a dropdown that lists all properties ids from the database, or by directly entering the property id in a textbox and submitting a …

0
78
Member Avatar for Deckster

To be honest, I am really bad at Javascript. I want to create something that will do the following: on post page: on click, set cookie. on home page: If cookie is set, echo the page the cookie was set on. I assume that this can be done using javascript …

0
56
Member Avatar for web3

Can somebody post code example on how to read from text file with AJAX?

0
112
Member Avatar for tonyeveland

Hello there, I use javascript to preload images as show below. The problem is that every time a page is refreshed, it preloads again. Is there any way to get an image into memory that stays there forever without any more preloading? <script type='text/javascript'> if (document.images) { img001 = new …

Member Avatar for Wraithmanilian
-1
70
Member Avatar for SKANK!!!!!

[CODE]<script language="javascript" type="text/javascript"> function updateonlines() {alert('you are updating the online users set the user field to online');} function updateofflines() {alert('you havve to set the online users to offline when they leave the page');} window.onload = updateonlines; window.onload = updateofflines; </script>[/CODE] SORRY NEW PROBLEM! I FIXED IT IT WORKS. but i …

Member Avatar for SKANK!!!!!
0
200
Member Avatar for elliequigley

I'm new at this. I tried using "http://localhost/ajaxform.php" as the URL and got back PHP as text from the server. The following gives me nothing: ajaxRequest.open("GET", "ajaxform.php?username="+namevalue+"&userphone="+phonevalue, true)

0
70
Member Avatar for muralibobby2015

hello... i want to do one task. can any body know plz tell me. when i click on hyperlink then popup fancy box will appear with image and image discription. and that popup fancybox have iframe with scrolltab. if anybody knows plz send reference.

Member Avatar for almostbob
-1
117
Member Avatar for muralibobby2015

i want to add scroll bar in table. but occuring scrolling problem. here is the my html form. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="imagetoolbar" content="no" /> <title>FancyBox 1.2.6 | Demo page</title> <!--<link rel="stylesheet" href="style.css" />--> <link …

0
109
Member Avatar for levsha

Hi guys! Can't figure out why this is not working: [CODE]<div id = "calendar"> <script language="javascript"> document.write(TODAY); </script> </div>[/CODE] Here is the CSS: [CODE]#calendar { width: 956px; height: 15px; float: right; color: #ffffff; background-color: #036779; padding-top: 5px; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; text-align: right; }[/CODE] The text doesn't show. …

Member Avatar for levsha
0
100
Member Avatar for Scooby08

[b]Basically...[/b] I'm collecting xml data and storing it into a database. Then I'm calling that info from the database using a jquery .ajax function to load and display it on the page.. It all works fine.. [b]The problem...[/b] The xml file consists of many sports leagues with odds for each …

0
67
Member Avatar for spivey

I have a little tabbed content window that uses jquery and I have an annoying little problem: whenever I click on one of the tabs, the page resets to the top, so if you click on the last tab, you have to scroll down to see it again. Here's a …

Member Avatar for spivey
0
176
Member Avatar for werm

Hello, I'm building an intranet site for work with an autocomplete feature. I have it working to where when the user clicks on the name in the autocomplete list, it will fill that value to the text input box. What I need it to do is after it fills in …

Member Avatar for werm
0
179
Member Avatar for girl.java

how are you all I want to write a program where when i enter the number For example 10 must give the numbers of Singles 1, 3, 5, 7 and 9 please its important

Member Avatar for harrierdh
-1
124
Member Avatar for Stefano Mtangoo

Hi, I want to prevent submitting a form if any of the field is empty. also if possible I would like to validate some basic things. All I want to use JQuery: How do I do that? I have no way and google points me to plugins. The things I …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for adil.hafiz652

[CODE] Dim i As Integer For i = 0 To 6 e.Row.TabIndex = -1 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onfocus", "javascript:SimpleTEOnFocus(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onblur", "javascript:SimpleTEOnBlur(this)") ' SQ 10/31/2006 SP5 CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeyup", "javascript:keyGridPressed('gridTESimple',this.id,event);SimpleTEHrsOnKeyUp(this,event)") 'AM 12/22/09 Modified CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onkeypress", "javascript:return NumericOnly(event);") CType(e.Row.FindControl("H" & i), TextBox).Attributes.Add("onchange", …

Member Avatar for joths
0
226
Member Avatar for jreddick82

Can someone tell me what I am doing wrong? I have tried all the coding and it acts as a pop up when you click enter site. Here is the coding for the form: [CODE]<form method="GET" action="http://www.rotatemarketing.com/home.html" target="_parent"> <div> <input type="hidden" name="acctid" id="acctid" value="qgdtcj4r6lpmrn1i" /> <input type="hidden" name="formid" id="formid" value="704007" …

Member Avatar for almostbob
0
137
Member Avatar for sitie_aniem

i have to debug the error for eleave system for a company. when i do the testing i define that having an extra day for the service length at the system. someone could help me? i don't want you to settle the problem for me, just tell me where can …

Member Avatar for ShawnCplus
0
65
Member Avatar for bjc999

Hi there everyone, I'm new to this forum, it seems to be the one always popping up in Google! I am also new to PHP and am having trouble figuring out how to use variables in URLs. I want to have one file in a directory with my data for …

Member Avatar for vaultdweller123
0
227
Member Avatar for itisnot_me

hi all again, i have made this one script that grabs values from the DB and displays them once you click on the dropdown menu which is fine if you have the first value that is printed. but i also made a new part of it where it prints a …

Member Avatar for itisnot_me
0
99
Member Avatar for Stefano Mtangoo

Hi all, I want to add some yellow background when focus turns to text input and remove it when it moves. Here is my code for JQuery [CODE=javascript] $(document).ready( function(){ //make form display yellow color when mouse is focused on item $("input").focus( function(){ $(this).css('background-color' : 'yellow'); } );//end focus }); …

Member Avatar for Stefano Mtangoo
0
145
Member Avatar for vivek4020

Hi I have a textbox and a listbox. If i write something into the textbox and press the enter key, i would like the content of the textbox to appear in the listbox. What is the best way to do it? Thanks in advance

Member Avatar for sknake
0
2K
Member Avatar for muralibobby2015

hello.... i want to do text fadein ,fade out using javascript onload page. actually i want to display text which is in database that text will appear in front end with fadein and fadeout effect. anybody plz help..............

Member Avatar for muralibobby2015
0
157
Member Avatar for kobi

Hello, i have a problem with a timer , on my program i have 2 different classes under the same namespace when i start the timer from the form class, the tick event happen on the elapsed interval. but when i call the timer from the other class the tick …

Member Avatar for sknake
0
110
Member Avatar for jj.amonit

I don't know if this is even possible. My site is designed for use on mobile phones. My users have to enter in a lot of numbers, temperatures to be exact. So, the numbers could be positive or negative. And ranging from -40.0 to 150.0. Decimaled. My users would also …

Member Avatar for jj.amonit
0
165
Member Avatar for samyehftw

Hey all, this may seem abit silly but im having real trouble working out how to make a php form that subtracts and adds numbers from 3 different box's into a new box.. abit like this... box 1: 10 box 2 adds: 1 box 3 minus: 5 Result: 6 im …

Member Avatar for almostbob
0
1K
Member Avatar for uncamoe

I am building an app for a mortgage company. In the scenario portion(to figure mortgages with variable values) I have a series of textboxs using the onblur event. They simply take the values input to the form field and run math equations. I had them working and went on to …

0
91
Member Avatar for Reliable

Good Day, Is anyone familiar with Lightforms AJAX contact forms. I'm using one in a web page i am building. I also wanted to include watermark text with "onblur" and "onfocus" functionality in some of the text input fields, but I can't seem to mesh the two. Here is an …

0
53
Member Avatar for Eternity[LK]

Hello. I have a problem I can't figure out on my own. I want to create a JS/AJAX function which counts down for exactly 10 seconds (for example), and then it performs an action - calls a .php file, and loads its content in a div element. The main problem …

Member Avatar for ShawnCplus
0
78
Member Avatar for Clawsy

Hi, I have an application with one JFrame and two modeless JDialogs. When I mimimize the JFrame, the dialogs are still there, not minimized. So i need to hide them. I can hide them with WindowDeactivated event which runs one time when the JFrame is minimized but when I want …

Member Avatar for Clawsy
0
1K
Member Avatar for SunnySideUp

Hi, Could someone possible help me or point me in the right direction to ajax examples where I can build a signup form like they have got on twitter. I have managed to create a script that checks the username to see if that has been taken which works, but …

Member Avatar for network18
0
124
Member Avatar for Flufferman

Hi, I'm having troubles with my JMenuItems and Jframe. I want that when you click on a JMenuItem the previous JPanel dissapears and the one you clicked for at the JMenuItem will appear. Now, I don't really know how to accomplish this. Someone said to me I should use the …

Member Avatar for gunjannigam
0
96
Member Avatar for webbi

Hi. Is it possible onclick event the image blue_go.jpg to be swaped with another one. Thanks[code]1. <!-- <input type="image" title="Click here to start Uploading" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" alt="Go"/> 2. <!-- <input type="image" src="<?=$host;?>/images/blue_go.jpg" id="free_go_btn" onclick="beginUpload('<?=$sid;?>'); return false;" alt="Go"/>[/code]

Member Avatar for network18
0
132
Member Avatar for Agent Cosmic

How do I convert the [I]this[/I] object to an array. Please help me, many thanks.

Member Avatar for Agent Cosmic
0
116
Member Avatar for qavo

Asynchronous data fetch from server is mainly reliable in my project which currently uses a "localhost" server. At times though the [inlinecode]XMLHttpRequest onreadystate event[/inlinecode] does not fire and I am suspecting this is due to javascript code still executing when the fetched data becomes available. Summary of process: [B]user click[/B] …

Member Avatar for ShawnCplus
0
98
Member Avatar for ytregnn

I try to find a scroller that is built in Ajax which makes it possible to scroll a part of a table/div (vertical). Ex: You have two text areas; "A" and "B", when you press "down" it smoothly shows another text area ("C") and "A" disappears and "B" replace it, …

Member Avatar for Graphix
0
99
Member Avatar for miguel1810

Hi, I'm trying to work out how I can change my back ground image when the user clicks the home link - or refreshes the page... I'd love my background image to change from the current static background image... is this HTML or JAVA ?? Can anyone advise ? Thanks …

0
216
Member Avatar for murugavel.b

If you want to restrict the user to go back or forward from the web browser, you can use the below mentioned javascript. Use this javascript in the script tag. It works on all browsers. For further details: [url]http://dotnetbypulikesi.blogspot.com[/url]

1
204
Member Avatar for jagadeshms

I wrote a simple code in java script and it is working fine with IE and not in Firefox but the out put in php array count is correct in IE but not correct in Firefox <script language="javascript"> var arrdimensions = { "codimesion":{"s":{'0':'dimesion1','1':'dimesion2','2':'dimesion3','3':'dimesion4','4':'dimesion5','5':'dimesion6','6':'dimesion7'},"c":1,"m":"50", "sc":1, "f":"nopcs[]"} }; function adddimensions(what) { parentId …

0
68

The End.