20,316 Topics
index.php file <script type="text/javascript" src="../lib/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../lib/jquery.jcarousel.min.js"></script> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ vertical: true, scroll: 3, visible: 12 }); }); </script> <ul id="mycarousel" class="jcarousel jcarousel-skin-tango"> <li>I love you haha.</li> <li>I love you haha.</li> <li>I love you haha.</li> </ul> --------------------------------------------------------------------------- From the above code, I use firebug to inspect the …
Hi, In [URL="http://www.w3schools.com/tags/att_standard_id.asp"]http://www.w3schools.com/tags/att_standard_id.asp[/URL] it is written that: [QUOTE]The id must be unique within the HTML document.[/QUOTE] What if I make them equal? I often use id for numbers of objects in database, e.g. id = 5 They are in deffierntent containers, for example [CODE] <div class = "x"> <div id …
plz help me in creating a linked drop down button for date,month and year. means on clicking month like feb it will show date upto 29 and on clicking jan it will show 31. also i need it so that i can made a similar type of linked button for …
This is just a dumbed down version of my web application. I successfully did an on submit earlier but deleted it somehow. So I deleted everything not essential to make sure nothing interferes. If I remove the submit part, it appends just fine. I am a noob with jquery, help …
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++){ $( …
please let someone just give a detail of significant difference between Ajax and PHP. WHICH I CAN ENJOY PROGRAMMING
:-/ my html form consists of drop down for selecting city and state. radio buttons for selecting gender. and a few check boxes. the form is filled and the values are stored in a database table. I am working on a php script, which retrieves values from database into an …
hello guys! im just wondering if it is possible to edit the caption of an image while it's being viewed through lightbox?
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 …
[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]
I want a button that when the user clicks on it validates in both server side and client side regular expressions. for example [CODE] <asp:Button ID="btnLogin" runat="server" onclick="C_Buttonk" onclick= "js_button" Text="Login" /> [/CODE] Then button would call both functions from JS and C# hence serverside and client side, but the …
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
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))
Hi again!! This is my code to add and delete dynamic rows and auto calculate the amount field by multiplying qty and rate. [CODE]<form name="staff_reg" action="<?php echo $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']; ?>" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <table border="0" cellpadding="1" cellspacing="0" class="normal-text" align="left"> <tr align="center"> <td width="10" class="forhead" style="white-space:nowrap;"> </td> <td width="92" …
Hi all! I have a form as below: [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = …
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 …
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 ."'"); } // …
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 …
[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 …
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 …
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 …
I have an XML file that i am parsing using DOM. I dont know why my code is not working. [CODE] <html> <head> <script type="text/javascript"> function loadXMLDoc(dname) { if (window.XMLHttpRequest) xhttp=new XMLHttpRequest(); else xhttp=new ActiveXObject("Microsoft.XMLHTTP"); xhttp.open("GET",dname,false); xhttp.send(); return xhttp.responseXML; } </script> </head> <body style="color:red"> <script type="text/javascript"> xmldoc=loadXMLDoc("food.xml"); document.write(xmldoc.getElementsByTagName("name")[0].childNodes[0].nodeValue); </script> </body> …
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; …
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 …
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 …
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 …
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?
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: …
Hi I am trying to call my BMI webservice to a html page which calculates and return the result, I have the following code but it is not working. [CODE] <html> <head> <title>Body Mass Calculator</title> <script language="JavaScript"> function InitializeService(){ service.useService(http://localhost:57955/BMI.asmx, "BMI"); } var doubleFeet, doubleInches, doubleWeight; function GetBMI(){ doubleFeet = …
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, …
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 …
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?
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 …
Hi every body i made news page in my Dreamweaver project and i added the date and time by this code [CODE][/CODE]$time=(date("l dS \of F Y h:i:s A") . "<br />");[ICODE][/ICODE] it is work correctly but, i wanna post it into other page some things like showing added news and …
<select name="select" > <option value="0">Select any one</option> <option value="hide">Trainee</option> <option value="show">Product</option> </select> <td><input name="designation" type="text" id="designation" /></td> <td><input name="organization" type="text" id="organization" /></td> please help me how to hide both text box after select Trainee value from listmenubox and after select Product both textbox show please help how to hide and …
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])} }); }
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 …
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> …
When I selecting gridview row i am getting the error in the following line onclick="javascript:__doPostBack('grdOrderDetail','Select$0')"> The error message is Microsoft JScript runtime error: Object expected Please help me out Thanks in advance
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 …
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 …
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. …
[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 …
[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 …
hi here i just started learning HTML & CSS couple days ago so please help me out :) what I'm trying to do here is to show a little box/window when the user moves his/her mouse to the designated point in my case it is a city(that will be in …
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 …
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 …
Hi, I have two textboxes(which are diplay only;their values come from database).I need read the data from these textboxes,multiply them and display in the third text box. Can someone send me the code. For example consider textboxes names as txtprice,txtquantity,txtamount; txtprice,txtquantity values come from tables in database.The price comes from …
Good Morning All... I am really baffled with what I am getting from a form input using an image... Here is the form... Basically it is a single form with 4 separate input images, each reloading the same page, but changing the value of the variable 'name'. [CODE] <form name="display" …
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' …
The End.