jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for Narayan15

hi experts, Here i have a problem with innerHTML in php page. [code] <script type="text/javascript"> function GetInner(sid) { document.getElementById("sid").innerHTML='<?php $id='+sid+'?>'; } } </script> <body> <p id="sid">&nbsp;</p> </body> [/code] it doesn't give any result. Please help me.

Member Avatar for Narayan15
0
276
Member Avatar for carlcarman

the problem I am having is in getting my page to produce an expected delivery date. The calculation function is working fine. I want to use the same id to figure out when the product will be delivered. I know my second set of if statements is wrong but I …

Member Avatar for carlcarman
0
145
Member Avatar for beattsme

Hi, not sure if this is the right area. I want to control where my visitors are coming from. So not visiting from google or their homepage etc etc. i want them to enter the site from one specific site. Thanks.

Member Avatar for Airshow
0
92
Member Avatar for kimayarani

I am working in dreamweaver and want to have a page that opens with pictures that change to a new one every time that you mouse over. There are around 3 or 4 different pictures, and after the last one, it can go back to the beginning. Or, it could …

Member Avatar for Airshow
0
97
Member Avatar for Helban

I would like to find a snippet of code to us in page using Javascript or JQuery. the function of the code is to make text appear weekly. Like random text or random image but I would like to control the text according to the week within the year ie. …

Member Avatar for Airshow
0
176
Member Avatar for lakodajin

Friends , I wana know that how we can change text symbol in password field by using JavaScript. I mean by default there is filled circle , but I want "*" this symbol.

Member Avatar for almostbob
0
4K
Member Avatar for mania_comp

Hi to all I am working in ASP.NET. I need to fetch an Advertisement Message from Database into JavaScript Variable. For example [CODE] <script type="text/javascript" language="javascript"> function ShowMessage() { var msg; msg = [COLOR="Green"]//Here Get from Database[/COLOR] alert(msg); } </script> [/CODE] How can we do that? Thank You

Member Avatar for vasanth19
0
104
Member Avatar for fellathedog

I have a validation function and the this is the last thing it does. [code = var mytext=document.getElementById("sizip") if(check5(mytext,"Zip Code must be 5 digits.")==false) {mytext.focus();return false;} function check5(mytext,alerttxt){ var re5digit=/^\d{5}$/ //regular expression defining a 5 digit number if (mytext.value.search(re5digit)==-1) //if match failed alert(alerttxt);return false; ] It will validate ok, if …

Member Avatar for fellathedog
0
101
Member Avatar for leron

I have developed web server with redirecting if resource isn't exist. It made by such html, that returning instead resource(img or style file): [code] <html> <form name='myform' action='http://[some address]> [inputs with another answer] </form> <script language='JavaScript'> document.myform.submit(); </script> </html> [/code] its works perfect if you go to this resource by …

Member Avatar for chandru7
-1
71
Member Avatar for kjelle392

Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, …

Member Avatar for Thirusha
0
174
Member Avatar for antonwildcam

[B]Hello EVERYONE! [/B] Could anyone know the script code for a [B]WEBPAGE ON TOP OF A WEBPAGE[/B]? The site was not working anymore, so I can't tell you the link. This is what I saw, When I visited the site (Mainpage) There's just a Welcome Image that shows [I]CLICK HERE …

Member Avatar for Thirusha
0
75
Member Avatar for ijazkhattak

i have a database, a page which get the data from database, and ajax code which modify the data(here adding as a friend).. LOGIC i succesfully get the data using php and in while loop(fetch_assoc) i get the email of the person who want to add other person as a …

Member Avatar for Thirusha
0
90
Member Avatar for theAviator

Hi All, I need to display my automation results in pi chart. From database i will have test case passed count and failed count. Depending upon these two values i want to display percentage using pi chart. For passed area should be green and for failed percentage area should be …

Member Avatar for theAviator
0
119
Member Avatar for ch_nilanjan

Hi, I have populated data in html table. Now I have to retrieve the value from this table, row-wise. How can i do this. Please help...

Member Avatar for Thirusha
0
95
Member Avatar for mlohokare

Hi, I am new in Javascript. I want to add few lines for content, which is already present, using Javascript. HTML code : [CODE]<html> <head> <script type="text/javascript"> function test() { t = document.getElementById("p123"); w = t.width; h = t.height; </script> </head> <body onload="test();"> <p><img alt="Graphic" id="p123" src="image1.gif" /></p> <p>TEST</p> </body> …

Member Avatar for Thirusha
0
171
Member Avatar for beattsme

Mod please delete this duplicated thread :S Hi, not sure if this is the right area. I want to control where my visitors are coming from. So not visiting from google or their homepage etc etc. i want them to enter the site from one specific site. Thanks. Mod please …

0
54
Member Avatar for grympel

What I'm trying to do is to automaticly redirect the contents of a div tag after it has been changed by a ajax call. Javascript: [CODE]<script type="text/javascript"> function ajaxSwap(div,func_id,args,dlay){ var xmlhttp; if (window.XMLHttpRequest){ // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else{ // code for IE6, IE5 …

0
54
Member Avatar for avirag

Hi all, Can anyone tell me HOw to make a batch file for creating a shortcut on desktop in HTML....? Well i made a application in HTML, and i put this application in CD, now i want that when user run that CD, So Cd will automatically create a shortcut …

Member Avatar for avirag
0
85
Member Avatar for abhax

Hey all, i have been using php for past one month only and now im using javascripts with php too... but my javascript functions have grown out of proportion ... I want to make a SEPARATE file for JAVASCRIPT just like we do it for EXTERNAL CSS... how can i …

Member Avatar for cwarn23
0
181
Member Avatar for yaragalla_mural

Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance.

Member Avatar for yaragalla_mural
0
356
Member Avatar for SKANK!!!!!

like i need to copy something to my clipboard by pressing a button. i can echo the value into a hidden form input field i guess. how can i get the value copied to clipboard?

Member Avatar for SKANK!!!!!
0
149
Member Avatar for Pleasant Day

I have a web site that uses some code to put adds into the page, but my adds are not centered, whats the code to make it be in the center of the page, at the moment its to the far right for some reason, I want to try and …

0
66
Member Avatar for dmmajorstudent

I am trying to create this form page where NO inner HTML is used. This is what i have so far and I am still trying to get a phone number code with at least ONE dash as well as a valid email address input. How do i generate this …

0
74
Member Avatar for mhran419

i want to create list load from db countries and then full second list from db when condition true. code run in opera successfully but in IE Not run... I'm beginner and using Smarty Templates. first code country.tpl second show_country.php third country.js[code]<html> <head> <script type="text/javascript" src="css/country.js"></script> </head> <body> <table align="center"> …

0
58
Member Avatar for neogy

Okay I have an issue....I have two things I want to happen on the same page....I have a slide in menu (Jquery contact form) where people can write me an email and a FancyBox gallery.. But these two javascripts wont play nice...if both are enable as they are now, The …

Member Avatar for Airshow
0
179
Member Avatar for jimmiller96

Hi All, This should be an easy one. I am using a single OnChange event with several <Select> statements, and need to identify the specific <Select> control that fired off the onchange event. I'm certain there must be a way to grab the ID or Name from the specific control …

Member Avatar for jimmiller96
0
105
Member Avatar for SKANK!!!!!

[CODE]<script type="text/javascript"> function placeIt() { if (!document.all) { document.getElementById("top_bar").style.top = window.pageYOffset +"px"; // For Mozilla etc. } else { document.getElementById("top_bar").style.top = document.documentElement.scrollTop +"px"; // For the IE... } window.setTimeout("placeIt()", 1); } </script> <body onload="placeIt()">[/CODE] i got that code. it works perfectly in firefox, but it doesnt stay at the stop …

0
70
Member Avatar for omsoni

Hi, I have a javascript error in my home page. Which is annoying. I am having hard time debugging it. Please help. [url]www.dealpigeon.com[/url] FF is not showing it. IE7, 8 shows the error. I just launched the website and I do not want users noticing an error. Thanks in advance.

Member Avatar for almostbob
0
104
Member Avatar for LizzyJo

Hi there everyone. I have a problem with the JavaScript code for my aggregates workings for my course. I have worked out with some help how to input a number, click a button and get the number to appear in a listbox. I also had to get the Reset button …

Member Avatar for LizzyJo
0
136
Member Avatar for twomers

Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of …

Member Avatar for twomers
1
212
Member Avatar for RoyMicro

Hai May be too simple but I was not able to locate info on this.. My main form will have a button, when I click on it another form should appear. I can do it. I need the parent form there( no .hide) but it should not be 'click-able'. It …

Member Avatar for RoyMicro
0
120
Member Avatar for Member #656741

I have a form with multiple SELECT drop-down menus. Each menu can submit the form using the onChange function. How can I determine which of the drop-down menus was used to submit the form? Example: [CODE] <form method="post" enctype="multipart/form data" action="submit.php"> <select name="one" onChange="submit()"> <option value="1">1st choice</option> <option value="2">2nd choice</option> …

Member Avatar for twomers
0
1K
Member Avatar for Member #656782

I am trying to use vertical columns (as commonly seen in print media, magazines/newspapers) in my blog layout. I think that as the aspect ratio of our monitors change ([URL="http://en.wikipedia.org/wiki/Xerox_Alto"]portrait[/URL] in the 70s/80s, (near) square in the 90's, and now landscape) it is important to embrace horizontally scrolling websites. This …

0
87
Member Avatar for skumar.snl

I have to Set Iframe Height Dynamically using Jquery or Javascript . I am Using following jquery code: [code]var theFrame = $("#IframeId", parent.document.body); theFrame.height($(document.body).height);[/code] My Problem is that data in iframe has some Images,video thumbnail which are coming from diffrent server Amazon,flicker (means from Cross domain). It takes time to …

0
75
Member Avatar for mohan7690

hi friends, my english is poor, please solve my problem i'm developing a site, in that irame is there, when a page is loaded to that iframe, along with links in the page, when i right click on the link and open in a new tab/window, it should open along …

0
62
Member Avatar for LizzyJo

Hi. I am new to this site so I hope you will all be able to help me with my problem. I am just starting to learn JavaScript so any help/feedback would be greatly appreciated. I have to make a form that if you put a temperature in a textbox …

Member Avatar for LizzyJo
0
108
Member Avatar for AirGear

i'm still a newbie in javascript. i know this question may be silly for some experts in javascript. and i'm sorry for that :( i want to create a dynamic form using javascript, where i can click a button to add some new fields. i tried to search it in …

Member Avatar for network18
0
176
Member Avatar for landroverthing

I want to try to create a section on my website, where someone can type a word into a text box, this will then be displayed on the same page, under the box, in a font that is chosen by the user by selecting a text box next to the …

Member Avatar for c9921
0
149
Member Avatar for muralibobby2015

hello.. i want to write code for refresh only division part which is in page. why because i am fetching images from database randomly. when we refresh the page the image change randomly. so.....i want to do refresh only division part every 1min. how to do?

Member Avatar for Member #120589
0
121
Member Avatar for Nuttdude

Buttons visibility is set to hidden to start. Suggestions? [CODE]<script Language="JavaScript"> Function CKPMT1() Var PMT1; PMT1 = document.Form1.BalPmtPayee.value; IF PMT1 = "" then ; document.Form1.B1.style.visiblity='visible'; End if End Function <body onLoad="CKPMT1()">[/CODE]

Member Avatar for Airshow
0
234
Member Avatar for firehazrd0

Thanks for viewing. To be perfectly honest, this is (in part) for school. the project is to write a script to prompt for a temperature in Fahrenheit and output the Celsius equivilant. I'm ahead in my school work, and so decided to take my time and have some fun with …

Member Avatar for Airshow
0
117
Member Avatar for bobinson

Could anyone pls help out with the logic of codes that uses Choice menu. The choice buttons were created with its items(3 in this case) I have another sets of 9 buttons in an array Each button,when pressed gets a corresponding value from an array of integers defined elsewhere The …

Member Avatar for Ezzaral
0
99
Member Avatar for Dum_

Hi, i would like that when pressing the key example "M" to call some code. Same as Ctrl+Alt+Delete and TaskManager but in my case i have process in background which maybe can be used for this?

Member Avatar for Geekitygeek
0
201
Member Avatar for hno

HI i know php/mysql and javascript well and I've made some web site . now , I want to make a online game web site that it has two type of games . One type are simple games like BACKGAMMON or chess another type are multiplay games . I have …

Member Avatar for digital-ether
0
212
Member Avatar for sam023

[url]http://www.d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm[/url] these type of jquery pagination are riable for large data...??? where query doesnt need 'limit' in it..!!! thanks

Member Avatar for network18
0
111
Member Avatar for Tom Tolleson

I have a button that activates a script to create a new radio button. I want the radio button to be of the class draggable. However, my code isn't quite working. Any thoughts on this are appreciated. [code] <head> <script Language="JavaScript"> function modify(){ var newElem= document.createElement("radio") newElem.id = "newradio" newElem.appendChild(newElem) …

Member Avatar for uthumiram
0
469
Member Avatar for tangara

Hi, I'm trying to apply light box effect. When the user click on the thumbnail size photo, it will pop up a bigger want and then the background will all blackout...... It's just not working and the the imgage won't show up at all. Hope someone can point out my …

Member Avatar for network18
0
100
Member Avatar for Neona

I will start out by saying that I have no experience with PHP at all.. sorry. However, since I do some asp.net etc I thought I would throw myself into it.. I have come across a problem though. I've found a mail form using jQuery. What it's supposed to do …

Member Avatar for network18
0
159
Member Avatar for shishtawitch

hi, how can i make a link attache ment system with php, culr / ajax one like in facebook..........!! i.e by typing a link fetching meta, title and images from that link...!! thanks in advance.........!!

Member Avatar for digital-ether
0
111
Member Avatar for rajabhaskar525

hai all, i want to refresh particular part of the page ,not whole page. is it possible? . if so, how is it? .........

Member Avatar for rajabhaskar525
0
3K

The End.