15,121 Topics

Member Avatar for
Member Avatar for infiniteloop56

Hi guys, I am a computer science major and I have been asked to complete a task for someone working in the school of public health at my university. Basically I have to go to this website: ///////////////////////////////////////////////////////////////////////////// [Click Here](https://www.healthcare.gov/find-premium-estimates/#results/&aud=indv&type=med&state=PA&county=Allegheny&age0=35&employerCoverage=no&householdSize=1&income=100000) ///////////////////////////////////////////////////////////////////////////// and gather all the information which displays after the …

Member Avatar for ajahar
0
387
Member Avatar for RikTelner

$(document.getElementById("item1"), document.getElementById("item2")).click(function () { $(this).fadeOut(); }); <span id="item1">This is item 1</span><br /> <span id="item2">This is item 2</span> span#item1 { color: red; } span#item2 { color: green; } `span#item1` is affected. `span#item2` not, that means I made mistake in syntax. Is there a way to get it to work. I know …

Member Avatar for RikTelner
0
525
Member Avatar for </scorpion>

Hi Experts, I want to export html table to .csv file, my code is working but i want to export it with border or background color on its header. how will i do that? Please help me. Thanks in advance. :) Here's my code: HTML Table: <div id="feedback_div" style="display: none;"> …

Member Avatar for </scorpion>
0
3K
Member Avatar for Stefce

I have wierd problem the navigation is working good everywhere but on `home.php` file it doesnt work when i press the MORE button to open the dropdown here is my code, what can cause this problem ? sidebar.css body,html{ height: 100%; } /* remove outer padding */ .main .row{ padding: …

0
139
Member Avatar for TObannion

I am supposed to use a jquery plugin to fill in some text fields. My professor is almost completely unresponsive about it when I ask him for help. Using the pickadate Jquery plugin, add a date picker and time picker to two <input> fields. <!doctype html> <html> <head> <title>Exercise 11A</title> …

Member Avatar for rproffitt
0
269
Member Avatar for Ivan_10

I have this function which get me only unique values in array: function sort_unique(arr) { var obj = {}; for (var i = 0; i < arr.length; i++) { obj[arr[i]] = true; } arr = []; for (var key in obj) { arr.push(key); } return arr; } I need this …

Member Avatar for agajvery
0
229
Member Avatar for Maria_15

Write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. So I did the …

0
97
Member Avatar for gazbg84

Hi, I am having a Timer control like this: [CODE]asp:Timer ID="Timer1" runat="server" Enabled="False" Interval="1000" OnTick="Timer1_Tick"> </asp:Timer>[/CODE] In an UppdatePanel with AJAX enabled. So everything works fine to the point where on each refresh of the panel a JS is inserted in the header: [CODE]<script type="text/javascript">Sys.Application.add_init(function() { $create(Sys.UI._Timer, {"enabled":true,"interval":1000,"uniqueID":"Timer1"}, null, null, …

Member Avatar for joshhan
0
545
Member Avatar for Niels_1

Hello guys i wrote an public function to create a project, but i need to call it in my javascript file. How can i do this. this is the public function i want to use. the public funtion is in data.php public function create($projectid,$projectnaam,$startdatum,$einddatum,$omschrijving) { try { $stmt = $this->db->prepare("INSERT …

Member Avatar for broj1
0
320
Member Avatar for Sabasi

This a code made in three.js so its like a gemoetry big cube made with small cube written in css,but i want to make that the source will be an image and that image will be the big structure made with small cube,i.e-if the image is google logo the thing …

0
140
Member Avatar for Maideen

Hi Sir I have a problem in passing value from Popop to main page I am using Master page and aspx page From main page, i can open popup windows and populate data in gridview. I am selecting date and capture the valeu in TextBox. When I click the button …

0
220
Member Avatar for slowlearner2010

Hi, I tried to change the form action based on selection option and hoping that my javascript validation function working properly too... I found out one solution and hoping this javascript can do that kind of thing. I tried so many ways and I think there's something wrong with my …

Member Avatar for hericles
0
485
Member Avatar for hrushi9

I have form having input type file to upload image & other input fields. How to submit form using websocket ? $("#form").submit(function() { "use strict"; var formURL = $(this).attr("action"); var postData = new FormData(this); //alert(postData); $.ajax({ type: 'POST', url: formURL, data: postData, processData: false, contentType: false, success: function() { $('.content').prepend("<div …

0
181
Member Avatar for slowlearner2010

Hi guys, I need to put data that i get it from db2 and display it into each text boxes (Name, Address and Postcode). What i got now, its displayed Name's data that i got from db2 into all text boxes (Name, Address and Postcode) . All i want is …

Member Avatar for slowlearner2010
0
143
Member Avatar for FarrisFahad

I have this event handler for when the page is loading. It shows a preloader GIF image when the window start loading. $(window).load(function(){ $("#Preloader").css('display','block'); }); But I don't know how to detect if the window stops loading so I can remove the preloader. How to detect if the window stops …

Member Avatar for gentlemedia
0
223
Member Avatar for shashigowda

Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for this..it has two parts(2 coloums).in the first coloumn iam displaying messages with employe name,id nd subject(just like preview of the …

Member Avatar for shashigowda
0
246
Member Avatar for FarrisFahad

I am trying to build a scrolling system for my website. This is what I have com up with ... $.ajaxSetup({ cache: false }); $(window).scroll(function(){ if($(window).scrollTop() == $(document).height() - $(window).height()){ picturesCount = $(".Picture-1A").length; allPicturesCount = $("#allPicturesCount").text(); alert('picturesloaded:' + picturesCount + ' PicturesDB: ' + allPicturesCount) if(picturesCount < allPicturesCount){ $.post('ajax/load-latest-pictures.php', {pictures_loaded:picturesCount}, …

Member Avatar for FarrisFahad
0
1K
Member Avatar for AleMonteiro

Hey fellas, some time ago I started trying out Brackets, and guess what? Loved it! If you don't know, it's an open soude editor made out of html, css and javascript, powered by node JS and chromium and sponsored by Adobe. A lot of open sources projects coming together to …

Member Avatar for AleMonteiro
2
433
Member Avatar for Praveen_15

Hi everyone i need help in getting value from 3 depenedable dropdown menu and after selecting option from 3 dropdown menu the data showed be shown in textbox eg. First value **package1** Second Value **car1** Third value **Type** and textbox value **Rate1** **Rate2** **Rate3** Please help me in this Thanks …

Member Avatar for Praveen_15
0
423
Member Avatar for shashigowda

Hi, how to pass variable value inside js. i want to add **Days** value to **From** date and dispaly it as **To** date here is my code,please go through it,i have explained in comments HTML days:<input type="text" id="capped_days">//manual i/p From:<input id="dt1" type="text">//date picker1 To:<input id="dt2" type="text">//datepicker2 javaScript $("#dt1").datepicker({ dateFormat: "dd-M-yy", …

Member Avatar for AleMonteiro
0
324
Member Avatar for dawbin

I need to dynamically create two DIVs and an item to drag/drop between the two. If I code static HTML this works fine but dynamically I am missing something. Has someone been able to define drag events dynamically and have them work? <html> <head> <script> function main() { //SOURCE var …

Member Avatar for AleMonteiro
0
327
Member Avatar for jonow

Hi I have an iframe on my website and it will load new content inside of the iframe when a user clicks on a link. You never navigate away from the page. Is there a way to display the source of the iframe or the html file that is being …

Member Avatar for Kevon
0
2K
Member Avatar for baig772

I have a div with `width: 200px` and I am adding text in it dynamically, I want the text to fit in this div but the text is getting out. I have tried to change the font size on character count but it does not work in all cases, like …

Member Avatar for AleMonteiro
0
386
Member Avatar for Lau_1

Hello, i not sure what is the problem with my code. Below is my code. <?php if(isset($_SESSION["products"]) && count($_SESSION["products"])>0){ $total = 0; foreach($_SESSION["products"] as $product){ $product_name = $product["name"]; $product_price = $product["price"]; $product_code = $product["product_code"]; $product_qty = $product["product_qty"]; $currency = "RM "; $img = mysqli_query($link, "SELECT img FROM internet_shop where id=$product_code"); …

0
226
Member Avatar for Martin_11

<div id='ad' style='position:absolute; left : 174px; top : 14px; width : 597px; height : 740px;'> <div style="opacity: 1.0;"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- 500-400 --> <ins class="adsbygoogle" style="display:inline-block;width:500px;height:300px" data-ad-client="ca-pub-********" data-ad-slot="*****"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> <script type='text/javascript'><!-- window.onscroll = function () { //hope this works, havent tested …

Member Avatar for rproffitt
0
314
Member Avatar for Amr.Mohammad87

Greetings, I am a newbie in web development and I am working on a website backend using ***ASP.NET***, ***Bootstrap***, and ***jQuery*** and I need to upload files, simply photos, that will be used to be displayed on the frontend banners. I already used the HTML5 file API to read the …

Member Avatar for AleMonteiro
0
368
Member Avatar for hastings.george.5

In my javascript code, I want to clear the text fields after done with the operations using onclick command. Question: Is there a predefined fuction to serve this purpose?

Member Avatar for hastings.george.5
0
173
Member Avatar for janicemurby

hi im not sure if come into the right section but im looking at adding a chatroom to my site for my users to use and im wanting it where they dont have to log in or register to chatroom instead they login on site and the username is same …

Member Avatar for mblan180131
0
206
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum. And lastly how to get …

Member Avatar for rproffitt
-1
300
Member Avatar for mblan180131

hello, fellow computer geeks. I seem to be having a problem with this javascript code. It's for a new game that I am making in cloud9.io's developer. when I run it, it executes everything up to the document.write("<img src='loading.gif' id='load' />"); and ignores everything else. I can't seem to get …

Member Avatar for mblan180131
0
222

The End.