15,700 Topics

Member Avatar for
Member Avatar for MartyWooly

Hello all! I'm new to responsive web design and I realize that it's fairly vital to desigining a good website today, what with today's ever changing screen sizes it's become vital to make sure my pages display well. So my question to everyone is this; Are there any Tools, Web …

Member Avatar for alexloxton
0
2K
Member Avatar for ObSys

I am looking into blogging technology, specifically using XML files to hold blog posts and reading them into a webpage using Javascript. I have been looking at the w3schools website for bits of code but for some reason my application does not display the content on the screen. My code …

Member Avatar for JorgeM
0
502
Member Avatar for hemanshurpatel

Hello friends. I have a php form and using ajax/javascript function to do get request. In form, there is a field name and checkbox, and In java script I have to get the fied name, check if the check box is clicked or not and add the paramater to url …

Member Avatar for hemanshurpatel
0
253
Member Avatar for hemanshurpatel

Hi there, I am working on a chart generator application and I'm using google chat as a chart tool. You have to pass different parameters to chart script that you want to show on chart. I want those parameters to be dynamically change. Say there are 20 different parametes showed …

Member Avatar for hemanshurpatel
0
174
Member Avatar for satheeshkumar14
Member Avatar for devianleong

Hi,currently i m developing a PHP Cart. I have a php function is call product option value. When Admin adding product ,ajax will load my php function without refreshing page to allow admin to select the option like color,size etc. In my php function got no any submittion data but …

Member Avatar for devianleong
0
233
Member Avatar for durgesh1

here is html and php code i like to pass video from my database to this via jquery on click action i try to do something like this but it fail jquery code `jQuery("#player").val(data["video"]);` <p> <label style="width:87px">Video:</label> <div id ="show_image2" style= ""> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="player" name="player" width="500" height="300"> <param name="movie" …

Member Avatar for durgesh1
0
320
Member Avatar for websponge

`<a href="#" onclick='contacts($code)'>Contact Details</a>` This runs a jquery code with the value $code. in Firebug I can see it gets the correct rowset value, the jquery is below: function contacts(code){ jQuery.ajaxSetup({async:true}); jQuery.post("php/contact.php", {code: code}, function(data) { $('#results').hide(); $('#results').fadeIn(2000); $('#results').show() .html(data); }); } it is supposed to post this value to …

Member Avatar for anthonydaly
0
439
Member Avatar for gahhon

i am using ASP.NET and i am able to detect the close the tab where's the `<body onunload="xxx">` but i don't know inside the xxx method how to window.open to another page with new window.

Member Avatar for JorgeM
0
413
Member Avatar for alpay.can.984

We have this code, thanks to a helpful person but it does not fully work as expected. The problem is that it currently checks for an exact match of dates, but there are situations of times that overlap one another and that should show a conflict too (background becomes red …

Member Avatar for stbuchok
0
164
Member Avatar for orange88

QUESTION: My need is to include a specific datepicker for EACH form when a specific button is clicked. Im not sure whether what im doing below in the jquery portion of the code for the datepicker is correct? Can someone please guide me with this? Thanks DETAILS: I am currently …

Member Avatar for LastMitch
0
769
Member Avatar for woodenduck

How can I prevent a XSS attack but allow user to post iframe and img? My page is php based but I allow users to submit text and have allowed only iframes and imgs with strip_tag How do I prevent a user from launching an xss attack?

Member Avatar for woodenduck
0
350
Member Avatar for saadi06

Hi, I am using jquery tabs for displaying data.And while displaying the data in the tabs I have to use ajax again to display data. The data in the first tab is giving the desired result. But when I click on the second tab. The tab is loaded correctly. But …

Member Avatar for LastMitch
0
247
Member Avatar for castajiz_2

I was wondering if I could develop a comment section where people would post comments without using php or asp. The only thing that i would like to use ih javascript, html, css, ajax and things like that. Is this achievable without the usage of php or asp?

Member Avatar for JorgeM
0
71
Member Avatar for J

Design a form for students to enter the grades (A, B, C, D, or F) of five classes (I will enter class names in designated areas); use textboxes. After hitting the “Calculate” button, the result (average) with a message should be displayed right underneath the form. If the average is …

Member Avatar for <M/>
0
94
Member Avatar for Kishore Patra
Member Avatar for Violet_82

Hi all, quick question about a website I am about to build. Basically, somewhere on the homepage, presumably quite far down closer to the footer I will have a div with two clickable tabs: when clicked they will show different content but the url of the page needs to stay …

Member Avatar for Violet_82
0
113
Member Avatar for siddharth_3

I'm trying to build google+ sign in feature. I'm able to get all the user data from google+, how can i insert this data into database? I know js is client-side language and it is needed to be done on server side....... my code: <span id="signinButton"> <span class="g-signin" data-callback="signinCallback" data-clientid="My-client-id" …

Member Avatar for bradly.spicer
0
337
Member Avatar for pwolf

If you were to build a fairly complicated website, and you wanted to add features like instant messaging (one to one and multi-chat like a chat room, and possibly if the site becomes profitable enough, voice/video chatting) and you wanted to be able to store these chat sessions, would it …

Member Avatar for noelthefish
0
294
Member Avatar for Steviebone

I am using a simple ajax routine to notify a server of click thrus. This routine passes information about each link on a page when it is clicked to the server which logs information about the click thru. The code works fine unless the CTL key is pressed as someone …

Member Avatar for Steviebone
0
280
Member Avatar for chris evans

Hi Guys! I'm building a site on html,javascript/jquery and css. i have links on the left side of the page (home, contact etc) which clicked displays appropriate and content on the right side. its (20:80) ratio. i have a javascript file that controls the display of the content: $(document).ready(function() { …

Member Avatar for Josh Connerty
0
302
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
138
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
473
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
342
Member Avatar for boykaa

since three days I try to insert many record in DB , I m using struts 2 and hibernate 3.I have 3 tables: 1 Evaluationglobale (id_eval ,label) 2 SousEval(id_eval ,SousItem_ID), 3 SousItems(SousItem_ID,label) my issue is how to insert many record in table SousEval when using the last insert id_eval in …

0
147
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
289
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
226
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
125
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
245
Member Avatar for zack000smith

I need to add the following features to my existing code (posted below) in Rails using Jquery, JSON, Ruby and HTML. I have a lot of ideas and researched a bit but Itd be great if someone can help me with integrating them: I need to add a feature to …

Member Avatar for LastMitch
0
318
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
312
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
467
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
220
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
263
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
287
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
278
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
212
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
132
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
124
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
219
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
930
Member Avatar for calebcook

I'm using a plugin called [jQuery file upload](http://blueimp.github.io/jQuery-File-Upload/) to upload images to a page. Currently it uploads with the original image name as the file name (IMG_1234). I need a specific format for the image name on the server (eg 1.123456.jpg) I found this PHP code that works for changing …

Member Avatar for LastMitch
0
430
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
390
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
301
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
688
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
228
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
172

The End.