15,121 Topics

Member Avatar for
Member Avatar for PriteshP23

I need urgent help. I need ONLY select ALL button for my code: if($_POST['SmartPhone']==false and $_POST['Apple']==false) { $this->add(new error('<span style="color:red">Select your cell..!!</span>')); $this->step1(); return; } if(isset($_POST['S4'])) $tech2=$_POST['S4']; $form->add_checkbox('S4','S4',$tech2); if(isset($_POST['iPhone 5'])) $tech3=$_POST['iPhone 5']; $form->add_checkbox('iPhone_5','iPhone 5',$tech3); if(isset($_POST['iPhone 5s'])) $tech1=$_POST['iPhone 5s']; $form->add_checkbox('iPhone_5s','iPhone 5s',$tech1); //In addition, i want to know how to put "Select …

Member Avatar for PriteshP23
0
136
Member Avatar for darkofpain

Hi friends, http://www.chevalblanc.com/randheli/en/56-unique-experiences.html Examples of the other layer to pass on this page How do I particularly like the scrolling with the mouse How can I pass a little bit when you scroll with the mouse, the other layer. Please scroll your mouse on the page to get a better …

Member Avatar for darkofpain
0
468
Member Avatar for Steviebone

I am using XMLHttpRequest as a simple one way ajax logging function. No server response is needed. The request does not cross domains. This code works as expected in IE and in Firefox var client2 = new XMLHttpRequest(); client2.open("GET", "program?url=c",true); client2.send(); alert('sent'); return true; however, as soon as I remove …

Member Avatar for pritaeas
0
340
Member Avatar for piers

Hi, I have been trying to create a little jquery plugin for myself so that I can reuse some helpful multiple button submit code. This plugin will allow me to have a class as a selector for every button I want to use on a webpage, a class for everything …

Member Avatar for piers
0
283
Member Avatar for davy_yg

Hello, I write the following javascript codes. <script> $(document).ready(function(){ $("input").focus(function(){ $(this).css("background-color","#fbecc5"); }); $("input").blur(function(){ $(this).css("background-color","#f5f5f5"); }); $("textarea").focus(function(){ $(this).css("background-color","#fbecc5"); }); $("textarea").blur(function(){ $(this).css("background-color","#f5f5f5"); }); }); </script> Only to put the effect on <div id="carticle3">, not on other input form, such as the navigation search input box. How to write the javascript code so …

Member Avatar for davy_yg
0
225
Member Avatar for Phaelax

I have a list of items, each item having two checkboxes; available and purchased. The item can be available without being purchased. But it cannot not be purchased without it being available. Therefore, I want the user to be able to check purchased and have 'available' auto-checked if it isn't …

Member Avatar for pixelsoul
0
121
Member Avatar for momonq1990

hello boss! can any one help me to do this. :S my .ajaxForm() code is working but i want to have validation first for the field before ajax start to work. here's my code: my script: <script> $(document).ready(function() { $('#myForm').validate({ rules: { newsletter: { required: true, email: true} } }); …

Member Avatar for pixelsoul
0
241
Member Avatar for AARTI SHRIVAS

<script type="text/javascript" src="scripts/jquery.min.js"></script> <script type="text/javascript" src="scripts/tytabs.jquery.min.js"></script> <script type="text/javascript"> <!-- $(document).ready(function(){ $("#tabsholder").tytabs({ tabinit:"1", fadespeed:"fast" }); $("#tabsholder2").tytabs({ prefixtabs:"tabz", prefixcontent:"contentz", classcontent:"tabscontent", tabinit:"3", catchget:"tab2", fadespeed:"normal" }); }); --> </script> <script type='text/javascript' src='scripts/jquery.easing.1.3.js'></script> <script type='text/javascript' src='scripts/camera.js'></script> <script> jQuery(function(){ jQuery('#camera_wrap_3').camera({ height: '56.2%', pagination: false, thumbnails: true, imagePath: '../images/' }); }); </script> this jquery gives me error …

Member Avatar for pzuurveen
0
309
Member Avatar for boney

This is my form : <input type="checkbox" name="dept" value="sales" <?php if(isset($_GET['dept'])) echo "checked='checked'"; ?> onclick="this.form.submit();" />Sales <br /> <input type="checkbox" name="dept" value="it" <?php if(isset($_GET['dept'])) echo "checked='checked'"; ?> onclick="this.form.submit();" />IT <br /> I want to send the value of "dept" as soon as the checkbox is checked and want the page …

Member Avatar for pzuurveen
0
2K
Member Avatar for hindu times

Hi there, I am currently helping out a company with an eCommerce site in Magento Community Edition, but I'm struggling with embedding a Mailchimp email subscribe form into a page. When I click Subscribe, literally nothing happens. The form is definitely validating, because I'm seeing error messages pop up when …

Member Avatar for gon1387
0
464
Member Avatar for sudhakrish

hi there, I have a hidden field in my page which i need to transfer to another page as request query string/paraameter. It works perfectly in IE and in chrome. When i try in Mozilla the value of the req string is always undefined. Can any one help me out. …

Member Avatar for sudhakrish
0
218
Member Avatar for jeremygb

Hello fellow programmers. I'm in a need of community assistance :) I have a php form with three dropdowns that has jquery function that loads .txt files and builds two dynamic dropdowns realted to first choice. First user choses option (hardcoded in script) - normal dropdown. Then the script takes …

Member Avatar for paulkd
0
1K
Member Avatar for luma64

I have in table columns name and rc. I retrieve values by select in php by js code info array. I want to display this values in html table with other values by javascript. My question: Whats way to join values name and rc in js? I need to join …

Member Avatar for flashhtml5
0
260
Member Avatar for GlenRogers

I have file that is supposed to pass the id of a link to using the ajax post method to a php file so that a div on my webpage updates. But nothing happens so i think the class is not being passesd. Can anyone see the problem. blog.js $('a.bloglink').click(function(e) …

Member Avatar for JorgeM
0
283
Member Avatar for davy_yg

Hello, Anybody knows how to create a changing background website like this: [background](http://id.gateway.com/gw/en/ID/content/home) I have the website and 3 different background. Now, I would like to make those background changes one after another.

Member Avatar for davy_yg
0
271
Member Avatar for calebcook

I am using the [jQuery File Upload plugin by Blueimp](http://blueimp.github.io/jQuery-File-Upload/) to upload images to a server. The problem is, the sending server is `admin.example.com`, and the receiving server where the images are stored is on `www.example.com`. Same domain, different subdomain. I followed the [instructions here on setting up cross-domain uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads#cross-site-xmlhttprequest-file-uploads), …

Member Avatar for calebcook
0
2K
Member Avatar for jacob21

Hi, I am trying to populate year,day and month dropdown. It working fine without <option value="">Select</option> i.e empty option. But getting wrong no of days for month selection after adding select option <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>untitled</title> <script type="text/javascript"> var numDays = { '1': 31, …

Member Avatar for LastMitch
0
211
Member Avatar for Gopalkrishna_1

(1) 1)here i'm doing clone of a row...but this code is working only in eclipse [ ie ,cloning is working ] and it is also not working in anybrowsers. if i write <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "Page on W3"> to this code ,it will not work in …

Member Avatar for LastMitch
0
129
Member Avatar for kresimir

How many bytes does it take to encode the JSON string "STR\uD834\uDD1E" in UTF-8, in UTF-16 and how many in UTF-32?

Member Avatar for LastMitch
0
123
Member Avatar for kevinyu

How to implement this kind of Google Map API like on this website http://dentist-map.jp/map as you can see, there is also a search bar then the markers. Since I am new to Google Map API, any outputs/feedbacks would be greatly appreciated. Do you think the locaations are stored in the …

Member Avatar for LastMitch
0
218
Member Avatar for divyang.parmar

I have a displaytag to display results. But in this displaytag, I want the corresponding occid of the row. But I don't know due to some problem, it is showing me the id of the first row only. It works as follows- when i enter a name and click on …

Member Avatar for divyang.parmar
0
927
Member Avatar for jannat1

I am trying to populate dropdown list according to other dropdown list using ajax prototype.js framework.But its seems ajax observField function is not picking the change in first dropdown list . I have two tables named mobiles and moddels moddels table has an coloumn mobile_id for association. my models are …

Member Avatar for LastMitch
1
382
Member Avatar for azegurb

Hi all, I have taken from net drop down menu (Drop down chrome menu). it is written in Object oriented background. but i would like to get it simple and concise. i wrote it in a prosedural background again. below is original script. 1-is HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for LastMitch
0
300
Member Avatar for secretply

I have the following code executed on window load: var focuscheck = setInterval(focuswindow, 1000); $(anotherwindow).focus(function() { focuscheck = setInterval(focuswindow, 1000); }); $(anotherwindow).blur(function() { clearInterval(focuscheck); $("iframe:first", anotherwindow.document).on("mouseover", function(event) { focuscheck = setInterval(focuswindow, 1000); }); }); anotherwindow and focuswindow are fine so I won't post code for that. So this is how …

Member Avatar for LastMitch
0
677
Member Avatar for hackit

i want to use uize's calculator in my website i am trying it for three days but can't it how to use it. Please if anyone can tell me how to use it then please let me know as soon as possible.

Member Avatar for LastMitch
0
225
Member Avatar for dcparham

i have threshold line[s] displaying on my chart, but i need a label now, showing one to be a "MIN" line, one a "MAX". i will post code upon request, but currently it only draws the threshold, but i am unable to get it to draw a label on it. …

Member Avatar for LastMitch
0
170
Member Avatar for asaidi

Hi i m just starting learning jquery,javascript ajax and json.. 1-can i import my data from mysql and use it in json the data is nearly 3000 records and it is growing.. 2-if i want to add a new record into my json file how i can do this please …

Member Avatar for IIM
0
134
Member Avatar for Julia25

I found this slideshow http://jsfiddle.net/vengiss/QRWAD/6/ that works on my current project but the client requested to make the slideshow image clickable (with links), I tried adding "<a href="#"><img src" but it wont work :( any suggestion?

Member Avatar for Julia25
0
3K
Member Avatar for Peter M.

I have a INDEX.html and some <DIV>'s that are populated with external HTML-files using jQuery LOAD() Some of the external HTML's also contains Javascripts. Seperately these external HTML's all perform well, when displayed in the DIV the script won't run. There should be a solution to this but I cannot …

Member Avatar for stbuchok
0
227
Member Avatar for LiBOC

Dear all, :confused: If I have a javascript variable with a value in it. How do I RETRIEVE the value of it and insert it into my <TD> cell? I am using a table to input values to <CANVAS> tag to draw a graph based on the values in <TD> …

Member Avatar for hhhff
0
3K

The End.