jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for tqmd1

Hello Experts I have following codes [CODE]<html> <head> <script language="Javascript"> function showdate() { var currentTime = new Date() var month = currentTime.getMonth() +1 var day = currentTime.getDate() var year = currentTime.getFullYear() var hours = currentTime.getHours() var minutes = currentTime.getMinutes() var seconds = currentTime.getSeconds() alert(month + "/" + day + "/" …

Member Avatar for Troy III
0
192
Member Avatar for Violet_82

HI there, quick advice please. I am developing a [URL="http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm"]photography website[/URL] for a client and I want him to be able to click on an image in a list of thumbnails and that will bring up the bigger version of the image clicked on. I have achieved this in my …

Member Avatar for Violet_82
0
238
Member Avatar for newbie14

I have a page at this link [url]http://183.78.169.53/lp/addRoute6.php[/url]. You can press first the add button to have at least 5 rows. So then you can select the location for the first row. Then if you select the same location for second row if it is same with the previous it …

Member Avatar for AleMonteiro
0
177
Member Avatar for crash1989

I have five flash files which are on different tabs on my webpage.I use Jquery for the tab generation and each flash file is loaded into a different tab(so there are five tabs). Currently when users clicks on a tab the flash file is loaded. One of the flash file …

Member Avatar for AleMonteiro
0
128
Member Avatar for vizz

how to split [COLOR="Red"]<div></div>[/COLOR] into even and odd parts ? And how to slide even parts to top-right & odd parts to bottom-left using jquery?

Member Avatar for AleMonteiro
0
158
Member Avatar for leprakhauns

How would I go about sorting the k.each by the comment_id(q in the function variable)? This is part of the core-min.js from Social Engine. [CODE] k.each(function(o,q){var r=new Element("div",{id:"comment_"+q});var s="<div style='margin-top: 10px; margin-bottom: 20px;'>";if(o.comment_authoruser_id&&o.comment_authoruser_exists){s+="<div style='float: left; text-align: center; width: 90px;'><a href='"+o.comment_authoruser_url+"'><img src='"+o.comment_authoruser_photo+"' class='photo' width='"+o.comment_authoruser_photo_width+"' border='0'></a></div>"}else{s+="<div style='float: left; text-align: center; width: 90px;'><img …

0
81
Member Avatar for blaaam

Hi! Guys i have small problem i have set multi-language to my site, but its don't work! I have tryed many charset codes, but nothing. So in my editor every thing looks nice, in index file too, but in other files its have problems. When i press view page info …

Member Avatar for blaaam
0
164
Member Avatar for Surfsup

When the cursor enters div.round I want div#expand to appear. This is happenning fine. When I remove my cursor I want the div#expand to remain visible - this is also working. Then to close div#expand I want to click a#one - this is the bit that's not working with my …

Member Avatar for AleMonteiro
0
202
Member Avatar for himanshu.1691

I am using a page where rows get fetched from database... now what i want to do is open a new link for each row... you will understand it when you see the screenshot....i have attached it.... I want to somehow redirect the link to other page with the value …

0
65
Member Avatar for Member #706466

Hello all, I have an assignment for one of my modules which involves writing UML Class diagram software which then outputs skeletal java code. The main window contains 3 things - a menu bar at the top, a panel on the left-side containing buttons and a draw area, where the …

Member Avatar for NormR1
0
103
Member Avatar for trektrak

I'm totally new with ajax and js... and I know this is possible. I've created a php table page... I would like to see the page refresh everytime I insert new data to my sql database. I know I can do this using header refresh on the php page itself.. …

Member Avatar for pritaeas
0
69
Member Avatar for DriftingSteps

Hello there! I'll make this short and simple. I need help with the following - 1. Disable right-click in my webpage, 2. Disable "View Page Source" option. I've seen point no.1 implied in many websites, but haven't seen point no.2 anywhere. So can you help me with these? Thanks in …

Member Avatar for 098
0
2K
Member Avatar for Ctechnology24

guys please help me how can I print the contents of my div in mozilla because it runs properly in opera mini and google chrome, well actually it still prints but the only content is "undefined" instead of the real contents of the div this is my codes [CODE] <head> …

Member Avatar for Ctechnology24
0
179
Member Avatar for dineshswamy

i ve worked on this script for more than a week but couldnt find out whats wrong with this . please help me out [CODE] var c; function start() { window.setInterval("Requestvisits();",1000); } function Requestvisits() { var xmlHttpobject; if(window.XMLHttpRequest()) { c=new XMLHttpRequest(); } else if(window.ActiveXObject) { c=new window.ActiveXObject("Microsoft.XMLHTTP"); } if(c) { …

0
66
Member Avatar for toldav

I need help in troubleshoot my code for reason the if statement is not working. any help please Im new into Javascript/ [CODE] <!doctype html> <html> <head> <meta charset="utf-8"> <title>Grade Calculator</title> <style type="text/css"> body { font-family: Arial, sans-serif; text-align: center; } form { width: 300px; margin: 0 auto; text-align: right; …

Member Avatar for Troy III
0
550
Member Avatar for patrick1981

I a form page in an iFrame that when a user submits it brings up a thank you page. But when the thank you page loads, because the initial form page is long users don't get to see the thank you message on the thank you page. So what I …

Member Avatar for Member #120589
0
132
Member Avatar for javedsai

Hello everyone, I've a links/menu in bottom of html page. For 1 link I've 4 sub menus. When I mousehover that, link then, it should open in upward direction. Kindly, show me how to achieve that. Thanks in advance... Regards, Javed Sai

Member Avatar for hericles
0
93
Member Avatar for pizzipie

I am trying to call a .php or .html file to display an input page for emails. The file ContactDisplay.php contains a <button> to onclick a call to the sendEmail() function which, in turn, sends data to the file ContactEmail.html. The data is retrieved using $_POST and used to populate …

Member Avatar for pritaeas
0
213
Member Avatar for dineshswamy

i tried almost a week to figure out how to insert a hyphen after successful date entry ,in my form validation, but couldnt find appropriate intrinsic event and logic. help me out.. eg: when the user enters 26 the script automatically inserts '-' since 26 is a valid date. Next,when …

Member Avatar for dineshswamy
0
118
Member Avatar for drimacus

Hi, this is probably a trivial question but I'm so new to this I would learn a lot from any help... Why does the content in global variable "str" disappear as soon as I unclick the alertbox? How can I keep it? I put the string in a <div> and …

Member Avatar for drimacus
0
354
Member Avatar for simplypixie

I am new to Ajax and have only been learning jQuery on and off for a few months so I apologise if this should be simple. I have followed a tutorial to get shopping cart functionality working using PHP, jQuery and Ajax and it is nearly there but I have …

Member Avatar for AleMonteiro
0
217
Member Avatar for anita_86

Hi all.I found this code on a forum to confirm that the user wants to delete the record from database and that the link has not pressed accidently.But it is not deleting the record even after pressing ok.This is may be because the id is not passed properly. Can anyone …

Member Avatar for anita_86
0
194
Member Avatar for thehunk

hello ! please any one help me how to pass my array as a parameter from extjs 3 to c# webserivce , so that i can save it in my database please help me Best wishes

0
100
Member Avatar for solomon_13000

The code below will add new form elements when ever I click the add button. However when you add more elements the combo box element goes out of alignment. Try it out. Now is there a way to fix this problem?. [U]multientry.js[/U] [CODE] function addValue(divname){ var newdiv = document.createElement('div'); newdiv.innerHTML …

Member Avatar for lordjohar
0
807
Member Avatar for vizz

[CODE] <div id="navcontainer"> <ul id="navlist"> <li><a href="#" id="current">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> [/CODE] This is my code for menus. How to hide "Item two, three, four, five", If "Item one" is clicked (using jquery)?

Member Avatar for Member #905211
0
120
Member Avatar for divsok

[IMG]http://i.imgur.com/UfUjV.png[/IMG] there are more rows on the table and each row has a button.i need to the get first coloum value of each record by clicking the button..

Member Avatar for pritaeas
0
105
Member Avatar for davy_yg

Hi, I am looking a Javascript code that can fold my sidenavigation. [URL="http://ocklaw.com/new/about/"]http://ocklaw.com/new/about/[/URL] The first show would be: Vision History Client People The next : Vision History Client People Chairman Partners Director Advisors Senior Lawyers Junior Lawyers Secretariat Librarians How ? So when people select people then the next navigation …

Member Avatar for stultuske
0
74
Member Avatar for jayhall

Hi All I found this code online what need, expandable table we have to reserve two rows for each entity, one that will be master row and another that will show details. Details rows are toggled by clicking on master row. What I am doing is in my table second …

Member Avatar for AleMonteiro
0
2K
Member Avatar for veledrom

Hi, The code below always returns Fail although I send correct username and password. Can anyone spot what I do wrong? Thanks in advance [CODE]<?php $username = htmlspecialchars(trim($_POST['username'])); $password = htmlspecialchars(trim($_POST['password'])); if($username == 1 && $password == 1) { echo json_encode(array('result' => 'success', 'username' => 'myname'); } else { echo …

Member Avatar for AleMonteiro
0
157
Member Avatar for knitex

For my code below i use getElementsByTagName('p') to get the values of the paragraphs that the user enters. but for some reason it when i use textNum[0].value it returns undefined. i tested it with textNum.length and the length keeps increasing which means values are being added to the array. not …

Member Avatar for AleMonteiro
0
253
Member Avatar for Pravinrasal

hi, I have created one array in java script like this: obj.push({'key' :value1, 'key2' :value2}) and it is stored in database ,but problem is that when I am retrieving again back from database I am confusing to how to get array from database because it is stored in following format …

Member Avatar for stultuske
0
152
Member Avatar for rosekrans

Hello all, I'm want to do a PHP redirect within a <DIV>. Currently I have written the folowing code, that allows a database entry to be selected and be deleted. [CODE]<?php //This is from a file named delete.php $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); if(isset($_POST['delete'])) { foreach($_POST['checkbox'] as $id){ mysql_query("DELETE from …

Member Avatar for rosekrans
0
177
Member Avatar for pbracing33b

Hello I am trying to do a simple program. But the basics of this program must have buttons like a calculator. So I was just testing my array and for loop and I can't seem to get anything to show up whatsoever I've tried document.write, alert and so forth. and …

Member Avatar for Troy III
0
112
Member Avatar for zack654

I'm beginner with jquery, and I need to create slider of few images on home page. When I check some tutorials on line, all use jquery plugins, and every look quite different. I'm quite confused. So, I would like to see what plugin you use (if you use) when making …

Member Avatar for pritaeas
0
64
Member Avatar for shaan_046

0 down vote favorite share [g+] share [fb] share [tw] I have a class in which i have a method name method() returning a String in the form of JSON string. The output is :: [CODE] [{"ID":1,"Names":"Shantanu"},{"ID":2,"Names":"Mayur"},{"ID":3,"Names":"Rohit"},{"ID":4,"Names":"Jasdeep"},{"ID":5,"Names":"Rakesh"}] [/CODE] Now this in the form of data that i want to Populate …

0
149
Member Avatar for vn412

Hi, Im using the following script [CODE] var ajax1 = new Ajax_init(); ajax1.GetData('bindddl,ddlCity_01,SELECT cityid,cityname FROM city where countryid='+text.value+' order by cityname','ddlCity_01'); var ajax2 = new Ajax_init(); var ctyid; if(document.getElementById('ddlCity_01').value){ ctyid=document.getElementById('ddlCity_01').value;} else{ alert('szdfzxf'); ctyid=0; } ajax2.GetData('idols, where cityid='+document.getElementById('ddlCity_01').value+ ' and countryid='+document.getElementById('ddlCountry_01').value ,'divlist',p); } [/CODE] Here is the ajax code: function Ajax_init() …

0
78
Member Avatar for leo88

Hi, I wants to ask about how to call the javascript function/method in .aspx file from code behind(or server code)? for example: Javascript: [CODE] function initCard(userid) { //userid, balance, subsidy breakfast, subsidy lunch, subsidy dinner var iRet = winCtrl.initCard(userid, 0, 0, 0, 0); } [/CODE] code behind: [CODE] Dim sb …

Member Avatar for G_Waddell
0
438
Member Avatar for joycesam_07

<!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" xml:lang="en" lang="en"> <head> <!-- "Simple&Sexy" THEMED BY ITSCHERRYDOLL Do not remove the credit please, thank you :) Enjoy the theme! xo --!> <!-- DEFAULT VARIABLES --> <meta name="image:Sidebar" content=""/> <meta name="image:Background" content=""/> <meta name="color:background" content="#FFFFFF" /> <meta name="color:entry" content="#FFFFFF" /> …

Member Avatar for lps
0
447
Member Avatar for ArtphotoasiA

Hello everyone... I have a good issue here... I made a website in WP and I have now a conflict with an old plugin. That plugin is called wpdir (word press directory pro) and is useful for several reason but regretfully no one care about that code anymore. Here are …

Member Avatar for ArtphotoasiA
0
167
Member Avatar for Que336

Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, …

Member Avatar for Que336
0
268
Member Avatar for zacharysr

How would i make a text area like Facebook's comment text box's. I want it to auto expand when they type to a new line. And just hit enter to post the forum. How would i make it do this?

Member Avatar for Member #120589
0
128
Member Avatar for hervens

I'm currently working on an html5 web application. While my app is running, is there a way to get access to currently playing audio through my app? For instance, if youtube is playing, Is there a way that I could stream all audio information coming from anywhere in my computer, …

0
88
Member Avatar for theone48

I'm trying to write a selection tool but I'm kinda stuck. My idea is to have a list of items, and if the user selects one one from the list, it prompts the user to add information on the selection Say, <li> sunday monday tuesday ... </li> if tuesday is …

0
48
Member Avatar for Troy III

[I][COLOR="Green"]!below is the code snippet [/COLOR][/I] This is a multi-use property toggler. In the given example we are toggling a sub property of an element. e -is the property owner to be targeted; p - is the property name to be set; v - is the property value; henceforward changing …

Member Avatar for Airshow
0
262
Member Avatar for parimalnarayan

I don't know where exactly to post this, I hope this is the correct section. I have been working on making a forum. I want to introduce notification alerts for 1) new messages, 2) reply to their posts, for every user. But I don't have any idea about displaying the …

0
118
Member Avatar for himanshu.1691

i have a page for user registration where i a form with a image tag to it. i want the user to fill the form but as soon as he uploads the image i want the image uploaded to be displayed on the image tag. Then i want all these …

Member Avatar for himanshu.1691
0
649
Member Avatar for Fibinacci85

Hi Guys, Sorry its been a while since iv posted been busy. ok so im working on this website That I`m trying to code in plain HTML or atleast try and get as far as i can using plain HTML. so i`ve created the main page where i can navigate …

Member Avatar for Fibinacci85
0
238
Member Avatar for akoprowski

Hi all, I just wanted to let you gals&guys know about Opa (opalang.org), a new programming language for web development. I think Opa is really cool. It takes care of both server- and client-side programming in one language, where all the communication between the server and clients is fully automated …

0
178
Member Avatar for Steven_B

Hello potential problem solvers! I want to apologize ahead of time if this is a repeat of a similar question that I did not find, but here's my issue. I have a form I recently have been asked to try to make work seamlessly(no page refreshes), so of course I'm …

0
121
Member Avatar for RenanLazarotto

Hello guys! I've started a new app that I need to fade two images. One of them will be the background and other will fade-in on mouse hover and fade-out on mouse left. After some search around the internet, I didn't found anything that I could use. Can you guys …

Member Avatar for RenanLazarotto
0
197

The End.