15,698 Topics

Member Avatar for
Member Avatar for tenorjazz

Using an onclick event I'm checking some radio buttons to make sure the correct one is pressed. That part works OK and generates an alert if the correct button isn't pressed. The problem is that the form is still processed even when I return false from the javascript function. I've …

Member Avatar for tenorjazz
0
242
Member Avatar for dcdruck

I noticed something today about Arrays in JavaScript that struck me as a bit odd. I imagine there is an easy explanation that will make perfect sense when I hear it, but until then I thought I would ask the community. If I use an Array as the sole component …

Member Avatar for dcdruck
0
140
Member Avatar for jelly46

When tracking links, do i need to put this code at the end? return _gaLink(this,'#'); What exactly does it do? My understanding of this is not clear. Here is the full code: <a href="#" onclick="_gaq.push(['_trackEvent', 'Email Link Clicked', 'exampleurl.org/';, '#']); return _gaLink(this,'#'); ">exampleurl.org</a> Thanks

Member Avatar for jelly46
0
89
Member Avatar for venkyb47

I was created a table with <table> tag and id is 'calendarid'. In this each td contains a textbox and an image. Some textboxes contain value and some are empty. I want to hide the image where textbox contains no value(or empty).I have used following java script code to do …

Member Avatar for venkyb47
0
144
Member Avatar for angelali2013

Hi, I have an IFrame. Good. And I have a Canvas as well. Good again! The user can write on the IFrame as I set the design mode ON. I am using document.execcomand to do the stuff, just like a simple text editor. I do not have issues on this. …

Member Avatar for radhakrishna.p
0
151
Member Avatar for rotten69

Hi everyone, I am trying to compile a sencha touch 2 project to build an android app but it doesn't compile fully and successfully. When I run this command, `sencha app build native` targeting android/iOS platform. The error I get is as follows below: [WRN] [ [1000] : Yui Compressor …

Member Avatar for rotten69
0
373
Member Avatar for arcticM

i have a div and an icon, i connected the 2 with toggle() <img .... onclick=" jQuery('#my_div').toggle();" > it works great, but how do i hide the div (once it's visible) when other area on the screen is clicked (besides the icon)? basicly what i need is <div id= 'my_div' …

Member Avatar for arcticM
0
777
Member Avatar for Violet_82

Hi I got in a bit of a muddle here. Basically say you have this html: ... <a href="javascript:void(0)"> <img alt="" data-name="myCar" data-family="ferrari" data-type="Fast Family" src="images/ferrari.png" style="left: 193.291px; opacity: 0.5; cursor: default;"> </a> <a href="javascript:void(0)"> <img alt="" data-name="yourCar" data-family="aston" data-type="Fast Family" src="images/aston.png" style="left: 293.291px; opacity: 0.5; cursor: default;"> </a> ... …

Member Avatar for Violet_82
0
165
Member Avatar for eburlea

Hi all. I am a beginner in Zend and I am wondering if there is any good book or tutorial for developing applications with Zend Framework, using json for data encoding and decoding and how to use jquery with Zend. Thanks.

Member Avatar for eburlea
0
241
Member Avatar for avroshk

Hi! So I have two "tabs" implemented using radio buttons as shown in the code (visibility is controled by CSS). There is one control in each tab contained in the div. I hope the code is clear enough. Now, I am inside a javascript function where I have the control …

Member Avatar for stbuchok
0
194
Member Avatar for RRPowered

I have a slider that load all of my content at once. Into a div. Like so: external page.php $get_users = mysql_query("SELECT * FROM user WHERE id!='$user_id'"); while ($rows = mysql_fetch_assoc($get_users)) { $id = $rows['id']; $firstname = $rows['firstname']; $display_info .= ' <div class="f_outer" id="' . $id . '"> <div class="f_name …

Member Avatar for pritaeas
0
261
Member Avatar for bobtutos

Hi friends. I am currently developing the website that I do want its contents (pictures & texts) to be prevented from being copied. I have tried googling but I got no solution on this, some of the people on the internet suggested the way on avoiding copying, they suggested disabling …

Member Avatar for lambing
0
123
Member Avatar for Farhad.idrees

Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = …

Member Avatar for lambing
0
387
Member Avatar for hackit

Hello guys.. i am developing a "College" website for my college project. I want to use validator as are in www.techrepublic.com on the input fields. please help me by providing guidelines.

Member Avatar for AleMonteiro
0
143
Member Avatar for riahc3

Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it?

Member Avatar for riahc3
0
235
Member Avatar for shasta90

Hi, I cannot load a URL into a DIV tag using javascript and ajax, all that occurs is the original div text remains in place: <html> <head> <title>Ajax Example</title> </head> <body> <center /> <h1>Loading a web page into a DIV</h1> <div id='info'>This sentence will be replaced</div> <script> params = "url=google.com" …

Member Avatar for shasta90
0
481
Member Avatar for asrsmunna

Dear admins..!! i am sorry for my previous post, but, now i am asking you this because i am poor in JS scripting.... i have seen a [website](http://max.jsrhost.com/ajaxify/demo.php). Here the menu and content are displayed in two different DIVs, but, i cant understand how to use that, i have concerned …

Member Avatar for radhakrishna.p
0
940
Member Avatar for default_098

I'm trying to get the colors to show on my table. I'm not sure how to even start. I was told to make 3 different css classes and work with that, but still not understanding how to do it. Table on the left is the example. Table on the right …

Member Avatar for GliderPilot
0
206
Member Avatar for mhaselip

HI Im looking for a javascript game to download for free so I can give my users on my website a way to get points. so the points that they get in a javascript game would be added to the mysql database to add the points into their account. does …

Member Avatar for AleMonteiro
0
400
Member Avatar for Squidge

Evening all. I am using nivoSlider, and have come across an issue with ow i'd like it to work. Here is a sample of the slider: http://gavdev.roundthebend.info/index2.html This is what i would like it to do: http://www.directenergypurchasing.com/ This is the HTML: <link rel="stylesheet" href="nivo-slider/nivo-slider.css" type="text/css" media="screen" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script …

Member Avatar for AleMonteiro
0
180
Member Avatar for kiail

I'm making a contact form. I need it to display the label of a selected check box in a message produced in my JavaScript and validation that makes sure at least one box is checked. I thought this would be simple, but poking my eyes seems like it would suit …

Member Avatar for AleMonteiro
0
247
Member Avatar for Riu 2009

Hi everyone, here in this code i have inserted javascript form validation and it is working as well, but when i click the submit button for empty fileds it mentions that the filed is empty but at the same time it adds the empty record.. i have checked my code …

Member Avatar for jstfsklh211
0
260
Member Avatar for tiekwebstar

i have so many categories and each category have so many items. like a food website. ok now i want to use fancy box. when burger category was click . i want to show different fancy box. and when kebabas category was clicked i want to show another fancybox.. The …

Member Avatar for AleMonteiro
0
300
Member Avatar for divyakrishnan
Member Avatar for pritaeas
0
72
Member Avatar for jimmyye0h

Hi, Our site (www.iloho.com) works fine on FF, Chrome and Safari but on IE it seems to freeze on the home page after signing in. We've been trying to resolve this for a week and sadly there's no meaningful progress. Is anyone able to point out which areas we should …

Member Avatar for diafol
0
215
Member Avatar for NardCake

Hello! This is the most annoying thing to me, I need redirections with Javascript often but `window.location` Doesn't work in chrome? I could swear it used to because I have just noticed this problem. Here is what I do `window.location = "http://mywebsite.com";` Works in Firefox, but not chrome? (I don't …

Member Avatar for NardCake
0
10K
Member Avatar for kathymac

Hi Here is my webpage: http://dgssi.com/barton/directory.html I need to find a tooltip script that when you mouseover a store name in the right frame it will display at a specified location on the map on the left side. I am totally stuck on how to go about doing this and …

Member Avatar for AleMonteiro
0
137
Member Avatar for adishardis

Hi, I have a json_encoded array that comes out like this `{"y":33,"customTooltip":"BOK"},{"y":61,"customTooltip":"DRFlytt"},`... I need it to come out without the quotes surrounding the y and the customTooltip and singlequotes around the last value like this `{y:33,customTooltip:'BOK'},{y:61,customTooltip:'DR'},` Is this possible or should I find another approach? I derive the array like …

Member Avatar for adishardis
0
135
Member Avatar for eawade

I am having the most annoying situation. Ok, here goes. I am using a javascript based sliding menu for a mobile app. The "slider" works just like Facebook mobile, where u can click the button to show the menu on the left and click it again to close the menu. …

0
139
Member Avatar for LogicWeb

Could someone please explain to me how to fix the callout issues where they do not hide again after the mouse hover is moved away from the icons on the home page? Thanks. This is part of the js code in the head section <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js"></script> <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.slide.js"></script> …

Member Avatar for AleMonteiro
0
197

The End.