15,699 Topics

Member Avatar for
Member Avatar for GraficRegret

here is the slideshow styles, <style> body {font-family:Arial, Helvetica, sans-serif; font-size:12px;} .fadein { position:relative; height:361px; width:640px; margin:0 auto; background: #000; padding: 0px; } .fadein img { position:absolute; left:0px; top:0px; } </style> here is the javascript <script type="text/javascript"> $(function(){ $('.fadein img:gt(0)').hide(); setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 5000); }); </script> and here are the phps …

0
84
Member Avatar for Farhad.idrees

HI Guys... I have jquery list menu box of sliding.. i want o use scroll bar..i have imported requrired files but when i import jqxpanel file so nothing show.. when i block jqxpanel file so lisemenubox shows but without scrollbar..i have also enable true scroll bar but its not showing.. …

Member Avatar for Farhad.idrees
0
234
Member Avatar for mrhankey

hi, i have been struggling to find a good autocomplete script with mysql backend. i now have an easy to use one and all is working, however in my page after the search has been typed and user selected instead of the users name appearing in the search box i …

Member Avatar for mrhankey
0
130
Member Avatar for brianbabu

Hi, can someone explain me the entire working of jquery.filedrop.js? I have used the filedrop for a project but i am interested in knowing it fully in detail so that i could improve its functionality and modify the code according the reqiurements i get from my client. Thanks.

Member Avatar for Taywin
0
173
Member Avatar for darren.ang.5264

hi, i am a newbie to ajax. i have created 2 html file in the following :- <<< a.html >>> <!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=big5" /> <title>Admin Page</title> <script> function loadURL(cDiv, cURL, cGetPost, cParam) { var xmlhttp; if (window.XMLHttpRequest) {// …

Member Avatar for Taywin
0
163
Member Avatar for garyjohnson

I have javascript code with displays the placeholder attributes on browsers which dont support HTML5, I am testing the code in IE. It works on every field which is type text. But when its type"password" it displays the placeholder as a password and not text. I need to it show …

Member Avatar for LastMitch
0
882
Member Avatar for Farhad.idrees

here is one form element. <input value="-7" class="validate[required,custom[integer],min[5]] text-input" type="text" name="min" id="min" /> here is one more problem.. i wanto use my javascript varible value in above class "validate[required,custom[integer],min[5]]" here like use dynamic number where 5 is using how to do it? Regards..

Member Avatar for Taywin
0
180
Member Avatar for Farhad.idrees

HI i have to compare three values but its not working.. alert box is not showing if i m putting less or greater values...i m calling this function on blur... function validate(value) { var minimum = document.getElementById('min').innerText; var maximum = document.getElementById('max').innerText; // alert(value); if( value < mimimum ) { alert('Value …

Member Avatar for AleMonteiro
0
122
Member Avatar for pln89

I need to use a kendo slider which is a compenent of kendo ui framework. This slider must display date ranges.I have to show data from database based on this range.How can I achieve this?

Member Avatar for stbuchok
0
190
Member Avatar for utchia

im trying to get the user to enter information into a textbox and then after clicking submit button the page has a table containing with that information in the rows. so for example the table has the heading Artist, Songs, Year made, Gene and the user has to enter data …

Member Avatar for AARTI SHRIVAS
0
277
Member Avatar for azegurb

hi All, I have question around Douglas Crockford "method" method. Function.prototype.method = function (name, func) { this.prototype[name] = func; return this; }; function azerizor(value) { this.value=value; } azerizor.method('toString', function () { return this.value; }); var me = new azerizor('salam').toString(); alert(me); this is it. But here arises question regarding **return this**? …

Member Avatar for azegurb
0
98
Member Avatar for techyworld

Hi i have a registration form .. somewhere in my form i have an image(registration is written) btw div tag: <div id="test"> <img src="..."/></div> <label>username:</label> ....... .... ... <div><label onclick=Onchange(1)>Login</label></div> Now i have an option :login" on this form if user has already registered. When click on "login" the image …

Member Avatar for diafol
0
134
Member Avatar for jonsan32

Does anyone know any good "Graduation Year" Calculator Scripts out there? I was thinking something somewhere along the lines of a simple dropdown box with grade levels, then a textbox to the right that would populate based on the current day/year. The tricky part would be to have the script …

Member Avatar for diafol
0
338
Member Avatar for neha05

<?php //session_start(); include("connection.php") ?> <!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" /> <title>Hedgeis-market</title> <link href="market css.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="jquery-ui.css"> <script src="jquery-1.8.3.js"></script> <script src="jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <!-- <link href="marnet_internal_css.css" rel="stylesheet" type="text/css" /> --> <script> $(function() { $( …

Member Avatar for McLaren
0
182
Member Avatar for McLaren

Hello, I am following this series http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ and everything ws fine when was working with just javascrtript and html. But now I want to put it together with php fraework and I cannnot get it to work. It does not draw select box first of all. And does not draw …

Member Avatar for McLaren
0
252
Member Avatar for otengkwaku

<?php header('Content-Type: application/xml'); $tmpFile = 'tmpFile.txt'; $val = $_GET["http://rss.news.yahoo.com/rss/us.rss"]; echo ($val); $curlHandle = curl_init($val); $filePointer = fopen($tmpFile, "w"); curl_setopt($curlHandle, CURLOPT_FILE, $filePointer); curl_exec($curlHandle); curl_close($curlHandle); fclose($filePointer); $linesArr = file($tmpFile); foreach($linesArr as $eachLine){ echo($eachLine); } ?> I don't know why this code is not working. Can someone help me

Member Avatar for diafol
0
330
Member Avatar for ZzyzX

Hi all - new here and I have a question which is JS/AJAX related. I am knowledgeable in PHP and MYSQL/SQL, but have never taken the time to tackle Javascript and all of its intricacies, so here it goes... I have recently found a dynamic drop-down menu which is database-populated …

Member Avatar for ElenaGrig
0
963
Member Avatar for s0wh4t

I seem to have problem with my jQuery script. $("top").append("<tr><td align='right' class='whtxt'><strong>"+this['date']+"</strong></td><td align='right' class='whtxt'><strong>"+this['name']+"</strong></td></tr>"); jumps top of the <th> tag, it should stay under there as table. <div style="width: 100%;"> <table width="100%" align="right"> <tr> <th align="right"><h5 style="padding:0;margin:0;">One</h5></th> <th align="right"><h5 style="padding:0;margin:0;">Two</h5></th> </tr> <top></top> </table> </div> --- $(document).ready(function() { done(); }); function …

Member Avatar for AleMonteiro
0
89
Member Avatar for Julia25

Im currently customizing a softwared driven site which has a lot of limitation, i can add new properties on existing css class and thats it. I was ask to add a tooltip to a certain class but no success. is it still possible to add a tooltip in "buy" button …

Member Avatar for AleMonteiro
0
202
Member Avatar for techyworld

Hi want to create a grid 5 by 5 and fill it randomnly with number using javascript. Can someone help?

Member Avatar for Taywin
0
3K
Member Avatar for PriteshP23

JavaScript is not working: // HTML <form id="formLogin" name="formLogin" method="post" action="" onsubmit="validateForm(this) /"> <div class="divLogin"> <table> <tr> <td> Enter your Email: </td> <td> <input type="text" id="checkemail" name="txtEmail" required="required" autocomplete="off" /> </td> </tr> <tr> <td> Enter your Password: </td> <td> <input type="password" id="checkpwd" name="pwd" minlength="6" required="required" autocomplete="off" /> </td> </tr> </table> …

Member Avatar for PriteshP23
0
287
Member Avatar for Farhad.idrees

HI i have 4 gridview in one form...i have to check all text field if someone select main check box... my code is working only on one grid view..its not working on other grid view. what should i do? my code is <script type="text/javascript"> function checkAll(chkid) { var chk = …

Member Avatar for code739
0
274
Member Avatar for garyjohnson

This is my java code, all the id's are the ids of divs on the page. They are all labeled respectiviley. It takes the input of the form. There are six possble errors that can occur which are, the emails dont match. First name contains characters other than letters, last …

Member Avatar for garyjohnson
0
236
Member Avatar for riseguim

Hi there, this script here makes my pictures (put in div with ids "elem0", "elem1", "elem2", and on). The original script has been written so at the very last elem, it stops. I would like it to start again at elem 0, like a loop. I have tried for the …

Member Avatar for riseguim
0
107
Member Avatar for khiemkim.xuan

Hi I'm kind of a new to javascripting but I was wondering if you good web developers could give an example of an email suggestion box? And for the second question. Would JQuery be affecting the performance if I would implement it on SaaS applications ? For example if I …

Member Avatar for khiemkim.xuan
0
233
Member Avatar for khiemkim.xuan

Hi! I'm struggling a bit in a calendar task where I want to get an event element and use it but it seems that I get the error "ReferenceError: event is not defined" via firebug. If you look at the code where the input tag is, there is my problem, …

Member Avatar for khiemkim.xuan
0
152
Member Avatar for nunuaziz_

Im doing a reservation site for a project. And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date and a time, and radio button(s) would be disable depending on database. So far, I have this: $result=mysqli_query($mysqli,"SELECT tableselect FROM reserve WHERE reserveDate = …

Member Avatar for broj1
0
1K
Member Avatar for bouncerfloridaalr

I'm sure this has been asked before but can't seem to find it. I've a (mostly) php page which has a simple button on it to print. Printing is done with a simple onClick="print.window()". Everything's fine in that it's calling the print.css correctly and what is being printed is what …

Member Avatar for rsleventhal
0
3K
Member Avatar for s0wh4t

I have the following script: $(function () { var tabContainers = $('div.tabs > div'); tabContainers.hide().filter(':first').show(); $(window).bind('hashchange', function () { var hash = window.location.hash || '[b][b]#[/b][/b]first'; tabContainers.hide(); tabContainers.filter(hash).show(); $('div.tabs ul.tabNavigation a').removeClass('selected'); $('a[hash=' + hash + ']').addClass('selected'); }); $(window).trigger( "hashchange" ); }); <div class="tabs"> <ul class="tabNavigation"> <a href="#first" class="selected">First</a> <a href="#second" class="">Second</a> …

Member Avatar for diafol
0
387
Member Avatar for McLaren

Hello, I want to ask about better practice. lets look at example function this.get_active_group = function() { var active = ''; if ($('#dogs_bet_window #first_row').hasClass('listening_keyboard')) { active = 'first_row'; } else if ($('#dogs_bet_window #second_row').hasClass('listening_keyboard')) { active = 'second_row'; } else if ($('#dogs_bet_window #special_offer').hasClass('listening_keyboard')) { active = 'special_offer'; } else if ($('#dogs_bet_window …

Member Avatar for pritaeas
0
164

The End.