15,699 Topics

Member Avatar for
Member Avatar for emily-bcot

Hi, There are two textboxes, one(id:sites) is to display a dropdown list when user input any letters, another(id:siteID) is to catch the value when selecting an item from dropdown list. see example at: [url]http://jqueryui.com/demos/autocomplete/[/url] Below is my code: [CODE]var siteNames =new Array("ASDA","Tesco","Boots"); var siteIDs =new Array(1,3,7); for (i=0; i<siteIDs.length;i++){ $( …

Member Avatar for scrappedcola
0
123
Member Avatar for denmarkstan

please let someone just give a detail of significant difference between Ajax and PHP. WHICH I CAN ENJOY PROGRAMMING

Member Avatar for scrappedcola
0
85
Member Avatar for starsinthesky

hello guys! im just wondering if it is possible to edit the caption of an image while it's being viewed through lightbox?

0
81
Member Avatar for iamchamith

hi friends, This question is belongs to the iframe... I was created 2 iframe call _1.html and _2.html.. In that each child iframes there is the button avaiable in first time parent page load _1.html... when user click the button in _1.html, I must load _2.html page without refreshing parent …

Member Avatar for SolidSolutions
0
83
Member Avatar for MackeyJenkins

[B] I'm trying to get my website, download the files instead of opening them eg. images it wont download them it just opens them to view in a new tab. is there a JavaScript or html even way of doing this?[/B]

0
54
Member Avatar for karthiga p

hi I CREATED A VF PAGE. IN THAT THERE IS A MODIFY BUTTON. WHILE CLICK ON THAT IT SHOULD VALIDATE THAT ONE CHECKBOX MUST BE SELECTED. CAN ANY BODY HELP ME TO WRITE THE CODE FOR THAT IN VF PAGE

0
40
Member Avatar for alam14_mist

I have use following code [CODE] string msg = "Saved Successfully."; Label lbl = new Label(); lbl.Text = "<script language='javascript'>" + Environment.NewLine + "window.alert('" + msg + "') </script>"; Page.Controls.Add(lbl);[/CODE] How can I change the icon? (I also tried by :window.alert('" + msg + "',3))

0
56
Member Avatar for anita_86

Hi!! I am trying to find out solution for this since long. I tried js but as I am not good with it, I just want to do this through PHP. I am adding dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: …

Member Avatar for anita_86
0
208
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
87
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
230
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
127
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
222
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
59
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
72
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
105
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
47
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
107
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
126
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
253
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
90
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
117
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
203
Member Avatar for saadi06

Hi, I want to insert a jquery crousel in my website.The images shown will be fetched from the database.If a user clicks on the next arrow to view the image and it is not displayed for a while ,I want a loader to be shown in the meanwhile does anybody …

Member Avatar for tinymark
0
60
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
61
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
304
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
50
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
409
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
211
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
80
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
61
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
684
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
778
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
100
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
138
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
118
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
66
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
166
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
194
Member Avatar for lukemaister

I was wondering about the technology used by Facebook and Twitter (those are the obvious and most popular ones). I have realised that when adding a status or a comment or subscribing to a conversation, the page does not actually post to server to modify the database. Actually, on click …

Member Avatar for tinymark
0
116
Member Avatar for sivakumarl

Hi Friends, I need to select browser option dynamically using javascript for handling cookies , i.e., in need select "override automatic cookie handling" checkbox dynamically. Kindly help me friends how to select this check. Tools - -> Internet Options --> Privacy (Tab) --> Advance (Button) --> Override automatic cookie handling …

Member Avatar for tinymark
0
248
Member Avatar for Excizted

Hello Daniweb, I want to make a custom visitor tracking tool and like Google Analytics it must be able to track how long time visitors spend on each page. How do you recommend doing this? I thought of using the Javascript onload event to start counting time serverside and then …

Member Avatar for tinymark
0
115
Member Avatar for tcollins412

this will not work on change. also the innerhtml wont display. please help. here is the js: [CODE]function checkemail(){ if (document.suform.email.value && document.suform.emailcheck.value) { if (document.suform.email.value == document.suform.emailcheck.value) { document.suform.emailcheck.style.backgroundColor='#FFFFFF'; document.getElementById('wm').innerHTML=='Emails Match!'; }else{ document.suform.emailcheck.style.backgroundColor='#F75B53'; document.getElementById('wm').innerHTML=='Emails Dont Match!'; } } }[/CODE] and here is the html: [ICODE] Re-type Email: <input type='text' …

Member Avatar for sivakumarl
0
135
Member Avatar for vizz

I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from …

Member Avatar for tinymark
0
242
Member Avatar for debasishgang7

Hello all,....I am trying to make a form which will be in a javascript pop up window.And there will be a submit button(also in the pop up window)..After submission this form will post some data to a php or asp...

Member Avatar for tinymark
0
99
Member Avatar for vizz

I want to create one menu with anchor tag for e.g=> <a href="http://www.example.com/example.php" rel="facebox">Example</a> I want to write javascript function for that like $menu = array(); $menu['page name without extension'] = 'Page Title To be showed on page'; function MenuGen() { } In addition I want to add FACEBOX from …

Member Avatar for vizz
0
160
Member Avatar for thegerm

Hi, I have a HTML/PHP/MYSQL setup where I want to use a value chosen from one HTML <SELECT> to restrict values shown in the next HTML <SELECT>. It's a reasonably common requirement but I just can't get it. A good example is where the user chooses a country and then …

Member Avatar for McLaren
0
245
Member Avatar for jreddick82

I am unsure what is going on with my website? I had flash on it, and I have removed the flash and installed javascript. Everything is installed correctly from what I can see, when I go to the view page button on Dreamweaver the images rotate. When I upload it …

Member Avatar for jreddick82
0
227
Member Avatar for epicrevolt

Alright, I'm back for another educated post (got the newsletter btw :(). So I am trying to [COLOR="Red"][B]use AJAX to remove a joke from a list of jokes[/B][/COLOR] inside the administration panel. I know basically nothing about AJX, but I am a quick learner. I know that if I press …

Member Avatar for epicrevolt
0
197
Member Avatar for razaque

i am a learner and tell me [COLOR="Green"]how to move any thing in javascript or movement as slide action.[/COLOR] i wait your answers

0
44

The End.