15,121 Topics

Member Avatar for
Member Avatar for Ankit_Parmar

I want to use java Script Variable in PHP Code. For Ex... Var a=10; <?php Use JavaScript Variable.How ???? ?> How can I use this variale in php ??????????

Member Avatar for rajarajan2017
0
207
Member Avatar for cleve23

Is there a module in python that i can use to parse javascript??? I finding a module that parse out the error message like what the cssutils do when checking on css script. Thanks

0
54
Member Avatar for himit

Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so …

Member Avatar for fpmurphy
0
256
Member Avatar for doctorphp

Hi all I am really new to javascript and I need to make a calendar which hilight the days date green. e.g. today 25/07/10 will be hilighted green. This is probably really easy but I am really new to JavaScript and would really appreciate the help. Here is the code. …

Member Avatar for fxm
0
171
Member Avatar for Invincible1

Hi, on my website, I have a drop down jquery menu with links and a image slide show with links. When I mouse over on the drop down menu, the drop down menu links go behind the image slide show, any way to fix this? Website: [URL="http://www.invincible-performance.com/index.html"]http://www.invincible-performance.com/index.html[/URL] Thanks.

Member Avatar for fxm
0
103
Member Avatar for AngelicOne

How could I do this? I have a radiobuttonlist with a yes and a no.. Then if click yes, the three textbox that are disabled will be enable..

0
59
Member Avatar for AngelicOne

I have made my three textbox disable in code behind [CODE]if(!ispostback) { textbox1.enabled = false; textbox2.enabled = false; textbox3.enabled = false; }[/CODE] then I have three checkboxes that corresponds with the three textboxes, chkbox1 for txtbox1, chkbox2 for txtbox2 and so on. How to do enable it using javascript? i've …

Member Avatar for AngelicOne
0
109
Member Avatar for subhankar02dey

Hello, I have done how to find out co ordinate(x and y axis) of a point on an image where a user clicks. But I need the opposite thing now. I need to mark a point on an image when a user gives suitable x axis and y axis co …

Member Avatar for subhankar02dey
0
248
Member Avatar for design.eng

I having troublw with uploading images, this is the script that I use along with the function of the process and the display page of the product! [CODE] function copyImage($srcFile, $destFile, $w, $h, $quality = 75) { $tmpSrc = pathinfo(strtolower($srcFile)); $tmpDest = pathinfo(strtolower($destFile)); $size = getimagesize($srcFile); if ($tmpDest['extension'] == "gif" …

0
87
Member Avatar for papanyquiL

Hi, I have a navigation bar with images as the buttons with no text on them. I'm trying to make a simple slide down menu on hover so people know which pages those images will direct them to: eg 'home', 'about', etc... However, I can't seem to get it to …

0
89
Member Avatar for reececropley

Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to …

Member Avatar for reececropley
0
344
Member Avatar for JameB

I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, …

Member Avatar for JJenZz
0
301
Member Avatar for manisvembu

Hi ... I Need to work with more AJAX Content, So i want a JS Function with Arguments like URL(the url to Ping), Parameters to Send , ctype(Content Type XML,JSON or TEXT). All i need is when i Call the Function with these Arguments , the Function should return the …

Member Avatar for manisvembu
0
116
Member Avatar for jrock2004

Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any …

Member Avatar for JJenZz
0
98
Member Avatar for phphit

For some reason, Javascript I am trying to execute with php is not working. Below is my code. [CODE] <script type="text/javascript"> function GetIst() { var d = new Date() var gmtHours = -d.getTimezoneOffset(); document.write(+ gmtHours); } </script> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for vibhaJ
0
745
Member Avatar for jeffreyjs

I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know …

Member Avatar for jeffreyjs
0
239
Member Avatar for minstantmoney

Hi Every one, I have just now uploaded a new site which is in php and uses RSS feeds with include file.In my code editor the pages are displayed perfectly but on my server it denotes xml error and no RSS feeds are displayed.I have tried my best to find …

0
60
Member Avatar for sskarth

Hi, I have a javascript array that contains only integers.I need to pass this array via AJAX as a variable. How do I convert a javascript array to a variable so that I can pass it via AJAX. On the receiving php page how do I convert back the var …

Member Avatar for scrappedcola
0
144
Member Avatar for readbanana

I have a textbox in a column of a gridview. Onfocus of the textbox, css implements a background color change. Also, for the edges of the textbox (to be rounded - look nice) I have two divs surrounding my textbox. Onfocus I want these divs to be visible and onblur …

Member Avatar for macgurl70
-1
111
Member Avatar for RGStrat

Hello, I was wondering how I could dynamically generate an image via Java/Javascript. Here is what I need: There will be a tiny sprite-like image in the middle. What I want is to have a partial circle around the sprite appear. It will have a drop-down with 3 options, each …

Member Avatar for RGStrat
0
111
Member Avatar for hindu times

Hi there, Im working on this page - [URL="http://www.rjt-online.com/photos_titletest.php"]http://www.rjt-online.com/photos_titletest.php[/URL] When you click the Filter By buttons it alters the content of the iframe below it. This works fine in ALL browsers. However, when you click the browser "back" button it should return to the previous clicked Filter By button (and …

Member Avatar for hindu times
0
863
Member Avatar for chicopeich

Hello i have a stupid problem but dont get to resolve :S i have to put a javascript between labels [CODE]<head></head>[/CODE] inside a part of my web [URL="http://www.lupok.com/veocine"]veocine[/URL] but i dont want the javascript is in all the site. Do you know any way to use different headers in wordpress …

Member Avatar for fxm
0
48
Member Avatar for thenanox

Hello everybody: This is my first thread in here. I readed a lot of good problems and solutions in this webpage. Right now im having troubles with one form submit in IE. Here's the thing. I'm trying to generate a PDF in PHP, i'm using mPDF to show the html …

Member Avatar for thenanox
0
355
Member Avatar for hindu times

Hi there, I'm new to this forum and am trying to find answers to a few issues I've been having. I'm building a website for my music (I'm a novice with web design so bear with me) and I'm having trouble with this page - [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL] As you can see, …

Member Avatar for hindu times
0
290
Member Avatar for baudday

Hi, I need to do the exact same thing this website <http://abtees1.com/> does when you mouseover one of their shirts. I have absolutely no idea how to do this and I can't seem to find anything on the internet quite like it. Any help is greatly appreciated. Thanks!

Member Avatar for Jayavardhan
0
104
Member Avatar for Mean Machine

Does anyone know if there are any ajax functions that would allow me to pull certain content from one page and display on another in a named <div>? I currently have some code that pulls all the content and works very well. I am looking to enhance this to say …

Member Avatar for ~s.o.s~
0
137
Member Avatar for mapman146

I am currently Building a sort of portfolio site. I uses a Lightbox to display content, which is this first script. <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/prototype/1.6.1/prototype.js'></script> And a scroll to function from the jquery library below. <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'></script> Independently the scrips work flawlessly, but once I incorporate both only one of …

Member Avatar for mapman146
0
80
Member Avatar for alexgv14

I am looking for something that creates the similar effect that this website does. Does anybody have any ideas? Anybody seen any tutorials or plug ins for it in jquery? Thanks

Member Avatar for ppetree
0
100
Member Avatar for Anujay

Hi, I created one Dropdown menu like --Jump To--- . a)google b)Daniweb When i click on the Jump To menu it displys two or more options like google or daniweb like above. When i click on the google it must call to hyper link and displays google website and daniweb …

Member Avatar for toydiaz
2
173
Member Avatar for JameB

I've implemented changing src of an image using javascript but I don't want any javascript in my website now. So I need help to do that in PHP! :) What am I doing: In the main index.php file, [code=xhtml] <body onload="load_images();"> [/code] Then I include a random file [code=php] include("content_to_display.php"); …

Member Avatar for JameB
0
876

The End.