14,054 Topics

Member Avatar for
Member Avatar for ello

Guys, just a quick question, is there any way to get this AJAX to be called on a button click? I know how to use buttons to call JS functions but I'm not sure where to add the open and closing parentheses with this AJAX...I've tried encasing different parts, but …

Member Avatar for McLaren
0
171
Member Avatar for youlichika

I need click `ben10` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `winx` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `pocoyo` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. but my code not worked. can anyone help me? and if I …

0
61
Member Avatar for McLaren

Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="Peržiūrėti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does …

Member Avatar for McLaren
0
128
Member Avatar for soomro_moon

can any one help me out.what is the problem with this code? [CODE]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> function combofunction(){ // actions that you want to perform //You will receive a different greeting based //on what day it is. Note that Sunday=0, //Monday=1, Tuesday=2, …

Member Avatar for Shanti C
0
131
Member Avatar for soft_coder

Hi! I want to create a circle using ext-js and fill it with 3D gradient. But I don't know. I searched almost all the APIs but I couldn't find the method to do so. Any help will appreciated.

0
55
Member Avatar for bkv.kannur

I am using ajax to pass php variable to javasccript function as shown below for my particular application. i am using the foolowing function from ajax.js freely available from net to implement the ajax functionality as var abc = new sack(); PHP portion which passes the response text: ************************************ <? …

Member Avatar for SatishU
0
661
Member Avatar for MoShapes

Hi, So, I have a client that wants a new background image every time page is reloaded. I thought I have to script and thought I had it working but when I applied it to all my pages from a template I made in dreamweaver it doesn't work. It only …

Member Avatar for SEOCoder
0
164
Member Avatar for Buppy

Hi, I have a HTML document with form. The form has several radio buttons. I want different elements of HTML (including <input> elements) to appear when each radio button is selected. Also, it is intended to show only those elements for a specific radio button. For example, if i select …

Member Avatar for Troy III
0
706
Member Avatar for f_atencia

I have a client-side form and it submits to itself using the 'GET' method. When the form is submitted, I can get the results, but I can't seem to hide the form itself. Is there a way of doing this using Javascript in an ASP file? The document.getElementById("myDiv").style.display="none" doesn't seem …

0
69
Member Avatar for felix001

On random pages of my site im getting the following error: [CODE]Permission denied for <http://googleads.g.doubleclick.net> to call method Location.toString on <http://fir3net.com>.[/CODE] I have no clue on how to debug this or what could be causing this. I have searched the web but no one seems to know what this is …

0
63
Member Avatar for rperez100508

This JavaScript is not working in Mozilla Firefox and Google Chrome, can anyone please help me with this.. Thank you very much.. Please post your revised JavaScript if I am wrong.. please help.. thank you.. [CODE]<style type="text/css"> a {text-decoration: none;} .title {position: absolute; width: 150px; height: 20px; left: 10=px; z-index: …

Member Avatar for rperez100508
0
299
Member Avatar for newbie14

Dear All, I am not so clear about jQuery actually what is it and how it function and different from Ajax? Can some one help me clarify? Now I required a functionality where I can drag and drop with the backend mysql capability to update the db. What will be …

Member Avatar for newbie14
0
83
Member Avatar for McLaren

[CODE]function name_free(value, element){ //validation rule var result; if($('input[name="name"]').val() != value) { //console.log($('input[name="name"]').val()); $.post(CI.base_url + "admin_/info_psl/name_check_ajax", { pavadinimas: value}, function(data){ //console.log(data); if(data == 'true') result = true; else result = false; }); } else result = true; //jei vienodi tai viskas ok console.log(result); return result; }[/CODE] when if($('input[name="name"]').val() != value) is …

Member Avatar for Airshow
0
141
Member Avatar for dikri100

Hello I have a code that counts the click of a particular link but only one per page But he precizo count on several link on the same page [CODE]<script type="text/javascript" src="file:///D|/Downloads/cookie.js"> </ script> <script type="text/javascript"> var = CookieUtil { get: function (name) { var cookieName = encodeURIComponent (name) + …

0
42
Member Avatar for liphoso

<html> <head> <title>Insert New Student</title> </head> <script language ="javascript" type="text/javascript"> function checkForm(formobj) { //name var formOK = true; if (formobj.name.value == "") { window.alert("You have to enter value for name."); formobj.focus(); formOK = false; } //surname if (formobj.surname.value == "") { window.alert("You have to enter a value for surname."); formobj.focus(); …

Member Avatar for hielo
0
100
Member Avatar for rperez100508

Anyone who can provide a code that I can put in a web page. I'm creating a page with a Tree View that I can navigate to see all the contents of the web page. Please post a simple code that I can understand easily, because I a newbie and …

Member Avatar for hielo
0
85
Member Avatar for sanelucky

Javascript works perfectly on all other pages of the website but one. Works correctly: 1. Go to drugstore.com 2. click on "international link" at the right hand top corner 3. An over lay appears where you can select country and currency drop down is auto filled. 4. Click on Update …

0
49
Member Avatar for ak2011

hi. I have a list of names of flash files. On clicking anyone of them, flash file(.swf) whose path is know should play on the same webpage, on the right side of the list I know the code to play swf file. But here the file name has to be …

Member Avatar for McLaren
0
125
Member Avatar for stressballRus

I've been working on a very cool control - The Simile Timeline. The codebase behind it is brilliant, but there is little documentation supporting it. So, I would just like to know if anyone else has been working with it?

0
36
Member Avatar for vaibhav1983

Hi All, Does anybody know of some Modal Window API? I made a custom modal window for my website, but it gave problems in IE7. I need to put various forms like login, newsletter, etc into them. Thanks in Advance

Member Avatar for vaibhav1983
0
129
Member Avatar for kirit275

I want to load partial page when loaded in the same window ( i.e I don't want to load navigation menu bar again and again) but if someone opens it in new tab it should load the whole page(i.e including navigation menu bar) just like in facebook... I tried iframes(HTML) …

0
59
Member Avatar for goldeagle2005

Hey all A friend of mine just designed a page and added the yahoo and gmail login boxes to it. Now, it works. What I want to ask is this. If I he was to host it, and use it to login to yahoo, gmail whatever, would it be secure? …

Member Avatar for schofield
0
2K
Member Avatar for jonsan32

I've found a simple script (at [url]http://www.javascriptkit.com/script/script2/bodymass.shtml[/url]) that determines someone's BPI that I'm now trying to alter to fit my basketball workout program. Been trying all day, can't figure it out... If anyone can help, thanks a ton. Their formula is as follows: [CODE] <FORM NAME="BMI" method=POST> <TABLE border=1> <TR> …

Member Avatar for jonsan32
0
98
Member Avatar for Infame

Hi... got a problem with this snippet... [CODE]function writeColum () { var x = document.getElementById("wc").value; var y = document.getElementById("title").value; if (event.keyCode == 32) { x=x+"&nbsp;"; } if (event.keyCode == 13) { x=x+"<br />"; } document.getElementById("passValue").innerHTML=x; }[/CODE] Any reasons why it's not working?

Member Avatar for Troy III
0
123
Member Avatar for lasano

I have a calendar and when selecting the date the date format inserted to text box is in the format ' 10/10/2010'. This is not getting inserted into oracle database. Oracle accepts only the format '10-OCT-10' . So please help me to change the format of date that getting selected …

0
107
Member Avatar for shamala

hi i need a javascript code to disable print screen key in both firefox and IE

Member Avatar for Troy III
0
111
Member Avatar for rperez100508

This JavaScript is working properly when using Internet Explorer, but this Script is not working when using Mozilla Firefox or Google Chrome. Please Help me re-encode this. Thank you. Here's the Script: [CODE]<html> <head> <title>Test Tree</title> <style type="text/css"> a {text-decoration: none;} .title {position: absolute; left: 35px; width: 150px; height: 20px; …

Member Avatar for Troy III
0
148
Member Avatar for daniweb-forum-u

I found a neat Flash image gallery here: [URL="http://www.hrewheels.com/"]http://www.hrewheels.com/[/URL] Where images of cars appear in a slideshow and the special effect shows the image opening up from the center. Are there any Javascript/AJAX, etc type galleries I can use to achieve this same effect? Thanks!

Member Avatar for Troy III
0
119
Member Avatar for restrictment

Hey Everyone. I recently created a game in abode director, and lost the .dir file. I currently ONLY have the .dcr, and back when I created the game, I added an obnoxious 'permanent' banner to an old affiliate who did not support me back. (So I would prefer to no …

Member Avatar for restrictment
0
85
Member Avatar for ello

Hey guys, Im going to try and explain this the best I can, maybe a bit difficult, but here goes anyway: I have AJAX calling a php function which displays a random quote when a user clicks a link. Every 5th click a div is echoed over the quotes, that …

Member Avatar for ello
0
212

The End.