15,121 Topics

Member Avatar for
Member Avatar for pandaEater

I'm new to AJAX, PHP, and Javascript and I'm trying to learn more about them by setting up a user login for a website. I've gotten it working but there are a few problems I'm having trouble solving. Right now the login works, but I'd like to check if the …

0
86
Member Avatar for SuPrAiCeR69

User clicks on a url, ie: example.com/AEQ438J When I perform this in the code below: [CODE] $referrer = $_GET['_url']; // echo $referrer displays the referrer ID contents correctly as "AEQ438J" if ( ! empty($referrer)) { $mysqli->query("UPDATE coming_soon_emails SET clicks = clicks + 1 WHERE code='" . $referrer ."'"); } // …

Member Avatar for SuPrAiCeR69
0
227
Member Avatar for filch

I have a map at the following location: [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] and have a functioning map which uses the map hilite pluging to add hover effects to the areas of an image map that the mouse is over. I would also like to be able to add that same effect when I …

Member Avatar for tinymark
0
123
Member Avatar for supriyabirje

[B]hi friends..[/B] please help me with this little code... i have a html form with a few text boxes and a drop down menu.... On page load I want to blur the drop down menu... I have blurred the text boxes using [CODE]document.getElementById['id-of-text-box'].blur();[/CODE] i tried the same for select element …

Member Avatar for diafol
0
221
Member Avatar for mehargags

Hi all, I’m trying to accomplish a small task where I have one single Form ITERATED with a Date textinput which gets its Value by a Javascript DatePicker control. My problem is, the datepicker on all these dynamically created forms only prints value on the first textbox element in the …

0
56
Member Avatar for iamchamith

hi Friends I was create web site using php... I was created grid of images in back end in the php(create a dynamic table in php back) and i was innerHTML that grid the html page... The major thing is after the inner_html,One of the image click,The jquary function Must …

0
71
Member Avatar for ShinyEdge

I want to validate my form so i call validateForm() using onsubmit of the form. It displays the alert but doesn't cancel the submit. What could be the problem? [CODE] function validateForm() { var x=document.forms["contactform"]["name"].value; if (x==null || x=="" || x=="Name") { alert("First name must be filled out"); return false; …

Member Avatar for ShinyEdge
0
23K
Member Avatar for Amr87

Hello Everyone :) I found a script for a sliding effect that uses OO Javascript rather than Jquwry , and I wanted to study it . actually , I`m almost understanding it All , but I have a few question that I hope someone answer regarding this script , I`m …

Member Avatar for Amr87
0
103
Member Avatar for markfw

Hi I really don't know where to post this question but I believe is related to JavaScript (Prove me wrong) Question: Let say my website is [url]www.site.com[/url]. another website ([url]www.example.com[/url]) uses iframe tag to load my website in their iframe using src="www.site.com" Now, how can I detect from [url]www.site.com[/url] that …

0
45
Member Avatar for grabit

Hi Folks I am trying to add a spin control to my quantity field before i add the ordered quantity to a shop cart array. The way its set up at the moment if you click the deincrement arrow it actually goes into negative numbers. (no good coz people cant …

Member Avatar for jon.kiparsky
0
104
Member Avatar for ShandyElliott

I have a drop down menu with options. Is there a faster way to display a tool tip based on the value of the <option> tag other than having to manually set title="" for each <option> tag?

Member Avatar for tinymark
0
123
Member Avatar for TySkby

Hi, Using jQuery 1.4.4 with the Roundabout plugin. Something weird is going on here and I can't put my finger on it. I have a function set up that changes the text of a <span> when a new image is called into focus. It gets called in $(document).ready like so: …

Member Avatar for TySkby
0
250
Member Avatar for robertmacedonia

Hi, I have one script that should check for a couple of checkboxes which one of them is checked, and store their values, then post them back to the controller(it's an MVC application, but that is not that much important). I am doing this using an additional hidden input field, …

Member Avatar for robertmacedonia
0
86
Member Avatar for McLaren

i have such div: [CODE] <div id="file.jpg"> <img src="http://localhost/joomla15/uploads/banners/file.jpg?1300447751"> <img title="Trinti" class="deleteAd" data-filename="file.jpg" src="http://localhost/joomla15/components/com_banerioikelimas/images/delete.png"> <a class="pratestiDienai">Pratesti galiojima dienai</a><br><br> <p class="validUntil">Galioja iki:2011-04-02 20:40:09</p> <p>Paspausta:1</p><br> </div> [/CODE] now I want to change its html content with such code: [CODE] $('#file1.jpg').html('test'); [/CODE] and it doesn't change. Probably because he thinks that .jpg is …

Member Avatar for McLaren
0
115
Member Avatar for aPPmaSTer

Hello! I'm trying to flip an image horizontally on the client side. Is it possible to rotate or change the orientation of an image by using JavaScript or CSS2?

Member Avatar for tinymark
0
198
Member Avatar for rajesanthu

Hello, I'v met a problem,may not be serious for you,but it kills most of my time..... The problem is I want to retrieve datas this ms access database using javascript If I enter 'R' in the search box, I should get all the records starting with 'R' Any Idea?????Please have …

Member Avatar for tinymark
0
58
Member Avatar for emily-bcot

Hi, In the follwoing code,` siteIDs[i] `can't got the i value which defined in for loop. Can anyone help me? for (i=0; i<siteIDs.length;i++){ $( "#sites" ).autocomplete({ source: siteNames, select: function() {$('#siteID').val(siteIDs[i])} }); }

Member Avatar for tinymark
0
278
Member Avatar for thundervenk

I want a timer code in javascript which can be called by a asp.net page which is not affected by the page getting reloaded or even if the page is refreshed. i want the timer to run with minutes and seconds.

0
48
Member Avatar for samsons17

Hi guys..i am just dealing with codeigniter framework.. Could you guys tell me where exactly should i put the ajax/javascript file in the codeigniter directory? I mean could it be in the application folder or whatever, or it doesnt matter? because i want to know which is the best practice …

Member Avatar for samsons17
0
405
Member Avatar for ghandijones

I am working on a simple click/attack game. Here's my code... HTML: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> <title>Random Number Game</title> <script src="rand.js" type="text/javascript"></script> <!--[if lt IE 9]> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <![endif]--> </head> <body> …

Member Avatar for ghandijones
0
209
Member Avatar for sidalex

Videos inside tabs play at the same time in IE but works fine in Mozila Firefox : I'm using [URL="http://www.sohtanaka.com/web-design/simple-tabs-w-css-jquery"]Simple Tabs w/ CSS & jQuery[/URL] but I’m having issue with I.E , Chrome I’ve videos in 3 different tabs , but in I.E & Chrome all tabs starting playing when …

Member Avatar for sidalex
0
78
Member Avatar for rajesanthu

Hello, I am trying to connect my html page to an ms access database using javascript. but I face problems when inserting values into the database. I have an ms access database with 9 columns. I want to insert the values got from an html form. Is it possible??? Could …

Member Avatar for mingler
0
59
Member Avatar for red_ruewei

Hi, I try to search related title but can't find any match. Here my case. I'm planning to allow user to insert record. If user put 3, mean 3 row of table will expand. Each row have textfield, select menu. Can refer to attachment. I'm using javascript to do that. …

Member Avatar for metalix
0
682
Member Avatar for funkyash34

[B]Hi Guys I have the following code for html and php. when i click on the button to calculate bmi it doesnt work.... can someone please help it is urgent...[/B] Heres html code: [CODE]<html> <head> <script type="text/javascript"> function Calculate(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code …

Member Avatar for junior siregar
-1
775
Member Avatar for aaraf

[B]HI everyone I am very new to java Script and I have a calendar written in JavaScript:?: I want to take the values from it[Clicking in an input field activates the calendar. The date format is "%m/%d/%Y %I:%M %p". The calendar defaults to "single-click mode".] and using php insert it …

Member Avatar for tinymark
0
99
Member Avatar for Shamail

Please tell me what i am doing wrong, all i want is to print this xml file with the xslt file i have. <?xml version='1.0' encoding='UTF-8'?> <?xml-stylesheet type="text/xsl" href="../App_themes/videoPlayer.xslt"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <title>Exam Security Whats OK and whats Not</title> <location>https://s3.amazonaws.com/arrtstreaming/ExamSecurity.mp4</location> <images>https://www.arrt.org/svideo/images/movieThumb.jpg</images> <annotation> ARRT takes the confidentiality of its …

Member Avatar for tinymark
0
136
Member Avatar for dstuff_2

Hello dear friends! [I][COLOR="Green"]At the outset, excuse me for my easy english, but am from pl[/COLOR][/I] :S I would like to put an image from a webcam from this page: [url]http://www.sunny.org/webcam/[/url] on my own site and that it worked just like there. Unfortunately, here is a problem, because on the …

0
115
Member Avatar for lse123

Do you know what error? how include rich text-area in jQuery and [url]http://tinymce.moxiecode.com/[/url] ? see attach... get ONLY text-area non rich text-area. [CODE]<html> <head> <script src="../jquery.min.js"></script> <script src="../tinymce/jscripts/tiny_mce/jquery.tinymce.js"></script> <script src="../tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script> $(document).ready(function(){ $('textarea.rte').each(function(){ TINYMCE.replace(this.name); }); }); </script> </head> <body> <form action="page2.php" method="post"> <table width="100%"> <tr> <th style="width:120px">Page Text</th> <td> <textarea …

0
64
Member Avatar for iamchamith

Dear FRIENDS, I have some question in javascript...That is.. I was creates some html page...then I include 2 jquary function(accodion and imageTaggin)to same page...and i import two .js files like below [CODE] <!--for accodion--> <script src="js/jquery.tools.min.js"></script> <script src="js/jquery-ui.min.js"></script> <script src="js/jquery.min.js"></script> <!--for taggin--> script type='text/javascript' src='js/jquery.min.js'></script> <script type='text/javascript' src='js/jquery-ui.min.js'></script> <script type='text/javascript' …

Member Avatar for tinymark
0
164
Member Avatar for Ryujin

This page is very heavy. I see that the jQuery library accounts 164K which is almost 40% of the page weight. As can be seen in the source, /jquery.js loads twice, as do several other scripts! But if i remove /jquery.js library from either line, the page breaks (tabbed box …

Member Avatar for tinymark
0
190

The End.