15,127 Topics

Member Avatar for
Member Avatar for vizz

Following code shows images before uploading them. It works well in chrome but it is not worknig in IE 6+. Please help with cross browser working of code [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=iso-8859-1" /> <title>Untitled Document</title> <link class="jsbin" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/base/jquery-ui.css" rel="stylesheet" …

Member Avatar for Abhishek12345
0
126
Member Avatar for Farhad.idrees

Hi.. i used Jquery in order to add date time picker calender in my site succesfully.. i just want to decrease size of calender because its showing big calender according to my form.. here is code and snapshop url http://tinypic.com/r/2ajzymx/6 <!--Calender Start--> <link rel="stylesheet" href="htp://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" /> t<script src="http://code.jquery.com/jquery-1.8.2.js"></script> <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> …

Member Avatar for code739
0
165
Member Avatar for jstfsklh211

to create a new comboBox when you post your form checkbox_name will contain the selected value $(document).ready(function() { var cb = "checkbox_name"; comboBox(document.getElementById(cb+"CB"), cb); var sel = myForm.elements[cb+"_hold"]; sel.length = 0; //add options sel.options[sel.options.length] = new Option("text", "value"); }); <div id="checkbox_name"></div>

0
356
Member Avatar for Violet_82

Hi there, I wonder if anybody can help me with this. I a a bit confused as to what $(this) and what e.target.nodeName represent in jquery. I had a look at this http://api.jquery.com/event.target/ but I am still not entirely sure, I hope somebody can clarify this. I run a little …

Member Avatar for Violet_82
0
795
Member Avatar for vipmo

Hi, I have this javascript error that I am unable to fix unterminated string constant. Here is what I am trying to do var test = '<p>rajnas asdjhsadnmdas dasjads jmsad dasndsaads bnas</p> <p>ahdndsa</p>'; document.getElementById('education').innerHTML = test; How to fix this error?

Member Avatar for Taywin
0
162
Member Avatar for green-script

hi (1) e.x: arr1 ["aa.wav","bb.flv","cc.mp3"]; arr2 ["http://www.page.com/q.html","http://www.afaq.com/vb/showthread.php?t=77","http://www.daniweb.com/web-development/javascript-dhtml-ajax"]; if x[i] == any element (arr2) >>> do <iframe......> how to check if x[i] matches any element in arr2 ? (2) what is the best way to learn "javascript, ajax, dhtml, jquery" in the net ? thanks

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

HI i have many fields in form....i want to check if anyfield is null so i want to do alert mesege also want to change the colour of text field....i have written a code but no error but not working anything...my code is for java scritpt function validateForm(Qform){ var i=0,Q= …

Member Avatar for Farhad.idrees
0
330
Member Avatar for tiekwebstar

I got a great response from this site. now my final thing is show gif loading image while getting data in Ajax.. my code is : function vote(id) { var result = new Array(); document.getElementById('sub-cat').innerHTML = ajax_image; result = $.ajax({ type: "POST", url: "ajax.php", data: "id="+id, async: false }).responseText.split("^"); document.getElementById('sub-cat').innerHTML …

Member Avatar for scrager
0
2K
Member Avatar for hwoarang69

html file <div id = "right_login"> <form id='login' action='login.php' method='POST' name=''> <h1>Log in to your account!</h1> <?php //print errors if(array_key_exists('log_error', $_SESSION) && !empty($_SESSION['log_error'])) { $log_error_r = $_SESSION['log_error']; echo "<span style='background-color:#D00000;'> $log_error_r <br/></span>"; unset($_SESSION['log_error']); } ?> <div> <label>Username:</label> <input type="text" name="username" id="login_username" class="login_field" value="" /> </div> <div> <label>Password</label> <input type="password" name="password" …

Member Avatar for scrager
0
104
Member Avatar for bhagirathitoxic

I have a servlet in java. My servlet URL is [Click Here](http://192.168.10.113:8080/collective-intellegence/UserClickPersonClassifier?userid=1&query=asp.net) This URL is giving json data. I am using a jquery ajax call to get the data. **MyCode** function SecondResultLink(link, userId, userInput) { try{ var urlSearch = "http://192.168.10.113:8080/collective-intellegence/UserClickLinkClassifier?userid=" + userId + "&query=" + userInput; $.ajax({ url: urlSearch, type: …

Member Avatar for bhagirathitoxic
0
192
Member Avatar for aslamdoctor

I am working on an ecommerce website for Glasses. Where I want to put a feature to try the glasses on your face or on some sample faces. The perfect example for this is one this site http://www.glasses2you.co.uk/prescription-glasses/gender/mens-glasses See the **Try in Mirror** option on this website. I can see …

Member Avatar for pritaeas
0
169
Member Avatar for vizz

Following code sets page(div's:- home,about,services etc ) height to 600px and when menus are clicked travels to perticular **div**. But it is not scrolling smoothly. It goes directly to that perticular **DIV**. I have used **animationTime = 900**, but it is not working. How to control scroll speed using **animationTime …

Member Avatar for vizz
0
184
Member Avatar for AleMonteiro

Hi everybody. I'm building an site that will load a bunch of overlays into Google Maps. The overlays are static and already in JSON format to be loaded with AJAX. This all works fine, ajax request, json parse, adding overlay. But the json files are quite big, the largest has …

Member Avatar for AleMonteiro
0
2K
Member Avatar for double_cola

Hey guys I have a page where a user can drag and drop ellements into divs 's and everything works great, but I need the div to only accept 1 element. Check it out [Click Here](http://www.cintascsr.com/test_site/report/) Right now you can drag both pdf docs into one "send to print" div. …

Member Avatar for AleMonteiro
0
323
Member Avatar for shahai.ali

hi i m very new to ajax and i want to have incomplete results like in the following image of google: ![upload1](/attachments/large/3/upload1.png "upload1") please help me for this purpose and for more experties in ajax

Member Avatar for JorgeM
0
200
Member Avatar for hwoarang69

i have a menu here. if i hover over it a sub menu drop down. but the problem is that the drop down menu display behind the div id = inner tag. i want to display front. <div id = 'bottom_menu_wrapper'> <ul id='navbar'> <li><a href='#'>Apparel</a> <ul> <li><a href='#'>Female</a></li> <li><a href='#'>Male</a></li> …

Member Avatar for <M/>
0
79
Member Avatar for hwoarang69

so iam trying to add a image slider in to my site. website where iam downloading this slider is: http://www.agilecarousel.com/ slider that iam download is called "Flavor 1". <html> <head> <link rel='stylesheet' type='text/css' href='agile_carousel.css' /> </head> <div class='slideshow' id='flavor_1'></div> .... //at end of html file //jquery verson file <script type …

0
72
Member Avatar for phingko

Hi all, Can anyone please help me solving this code that i've been stuck for a while. I would like to logout from my shopping website then redirect the user to homepage after that. Right now, I managed to log them out but everytime they log out, it will bring …

Member Avatar for urtrivedi
0
271
Member Avatar for OsaMasw

Hello there , currently am working on download site that contain items , I need to place **download hits** for every file in site, I used the old way that open popup php page and increase the counter then store the result in database, its not cool to do this, …

Member Avatar for OsaMasw
0
231
Member Avatar for complete

How does Yandex do its trick? I want to programatically get the contents of a Yandex.com search result. The proglem is that a search page url does not change when you do a search on yandex.com and advance to see more pages. It must be done somehow by javascript. Any …

Member Avatar for lamiv007
0
132
Member Avatar for fion.mccormack

My wordpress site has a custom built plugin that enables people to compare SIM only deals. The problem is that, on the front end, the deals table takes about 60 seconds load in IE8. It is ten times faster in firefox (about 6 seconds). The guy that built the plugin …

Member Avatar for stbuchok
0
216
Member Avatar for green-script

trying to make this script work: <script type="text/javascript"> var tmp='<html><head><title>popup</title>'; tmp+='<script type=text/javascript>'; tmp+='function nowTime(){'; tmp+='var oNowTime=new Date();'; tmp+='var iMonth=oNowTime.getMonth();'; tmp+='var iDate=oNowTime.getDate();'; tmp+='var iYear=oNowTime.getFullYear();'; tmp+='var iHours=oNowTime.getHours();'; tmp+='var iMinutes=oNowTime.getMinutes();'; tmp+='var iSeconds=oNowTime.getSeconds();'; tmp+='var iMilliSeconds=oNowTime.getMilliseconds();'; tmp+='var sNowTime=iHours+":"+iMinutes+":"+iSeconds;'; tmp+='return sNowTime'; tmp+='}'; tmp+='function nowDate(){'; tmp+='var oNowTime=new Date() '; tmp+='var iMonth=oNowTime.getMonth()+1'; tmp+='var iDate=oNowTime.getDate()'; tmp+='var iYear=oNowTime.getFullYear()'; tmp+='var iHours=oNowTime.getHours()'; …

Member Avatar for AleMonteiro
0
743
Member Avatar for boom14

I have a Dynamic table with only showing 10 records and using pagination to show the next 10 records. I want a search function. I follow this guide http://www.vonloesch.de/node/23 But instead I can only search on the first 10 records. Any help is appreciated. Thanks

Member Avatar for pritaeas
0
32
Member Avatar for hwoarang69

iam doing it so that it inside input field it should say "Password". then if user start type in than it should put chars ****. html file <input type="password" name="password" id="login_password" class="login_field" value=""/> js file /*** login page - password field ***/ var password = 'Password'; $('#login_password').replaceWith('<input type="text" value="" name="password" …

Member Avatar for hwoarang69
0
336
Member Avatar for HelloJarvis

Hi all, I'm working on a little project that gives you synonyms for your sentence that uses Twitter Bootstrap. Everything is working all right, but I can't seem to change elements within the Popover! What's odd, however, is that when I used jQuery.length on the desired element, it told me …

Member Avatar for HelloJarvis
0
314
Member Avatar for HunainHafeez

<div> <div style="position:fixed"> <ul> <li><a href="#home">Home</a></li> <li><a href="#news">Profile</a></li> <li><a href="adminViewEmployers.aspx">Employers</a></li> <li><a href="adminViewApplicants.aspx">Applicants</a></li> <li><a href="#about">Super Admins</a></li> </ul> </div> designed a vertical menu in css , it has 4 clickable links HOME APPLICANTS EMPLOYERS PROFILE Now i want that when i click on APPLCIANTS then within this menu it should open 2 …

Member Avatar for simplypixie
0
96
Member Avatar for dreamsky999

Hello DaniWeb Community, I've recently been working on a simple input page for user to key in and then, returns an error if it doesn't match the required input type. However, I've been trying to get them working but they don't. I've 2 pages (author.html & book.html) which send their …

Member Avatar for dreamsky999
0
178
Member Avatar for <M/>

I am trying to style a log in menu that is created by this snippet i have here (generated by javascript): <script> var password; var correctpassword = "DaNiWeB"; password = prompt ('Enter the Correct Password to view this page:',''); if (password==correctpassword) alert('Thank you for properly entering the password, you may …

Member Avatar for <M/>
0
78
Member Avatar for Vijaysurya

Hai everybody, I am uisng * valums/file-uploader i need help in mouseover or mouseup a uploadbutton. after upload a image. anybody plz help me. this code no working. remove this two lines working fine. $("#btnUploadPlanPicture").hover(function() { $("#btnUploadPlanPicture").mouseup(function() { anybody plz help me. $(document).ready(function() { $("#btnUploadPlanPicture").hover(function() { $("#btnUploadPlanPicture").mouseup(function() { var uploader …

Member Avatar for AleMonteiro
0
201
Member Avatar for servis

i want to get the alert on responce text, but getting nothing, my code is as follow, [ICODE] <?php session_start(); ?> <script type="text/javascript"> var xmlHttp function checkCAP(str) { if (str=="") { alert("plase enter the code"); return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } …

Member Avatar for karlosdpm
0
3K

The End.