jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for zac1987

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 …

Member Avatar for zac1987
0
210
Member Avatar for McLaren

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 …

Member Avatar for McLaren
0
114
Member Avatar for tomato.pgn

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 …

Member Avatar for tomato.pgn
0
153
Member Avatar for zizuno

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 …

0
60
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
128
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
89
Member Avatar for supriyabirje

:-/ 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 …

Member Avatar for adamworld
0
191
Member Avatar for Member #481668

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

0
87
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
86
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
65
Member Avatar for Abakiz

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 …

Member Avatar for MamathaS
0
98
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
42
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
60
Member Avatar for anita_86

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;">&nbsp;</td> <td width="92" …

0
85
Member Avatar for anita_86

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 = …

Member Avatar for anita_86
0
656
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
90
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
247
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
134
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 Member #120589
0
235
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
64
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
76
Member Avatar for Member #899158

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> …

Member Avatar for tinymark
0
172
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
118
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
50
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
121
Member Avatar for Member #891530

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
131
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
265
Member Avatar for funkyash34

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 = …

Member Avatar for tinymark
0
756
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
99
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
152
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
217
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
66
Member Avatar for dr.4030

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 …

Member Avatar for vibhaJ
0
112
Member Avatar for rohittripathi

<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 …

Member Avatar for vibhaJ
0
3K
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
320
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
420
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
230
Member Avatar for mayankdvd1

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

0
85
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
88
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
65
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
694
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
787
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
110
Member Avatar for bigwhiteegg

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 …

Member Avatar for teedoff
0
115
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
123
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
74
Member Avatar for salmap

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 …

Member Avatar for salmap
0
150
Member Avatar for showman13

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" …

Member Avatar for showman13
0
288
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
174

The End.