15,688 Topics

Member Avatar for
Member Avatar for YakuzaJevin

Can someone help me with my codes about the log in using javascript, everytime i log in it opens a new window for the homepage, but i want it to be in the same window, thank you :D <html> <head> <title> Login page </title> </head> <body background="black_background_metal_hole_very_small-wallpaper-2560x1600.jpg"> <h1 style="font-family:Comic Sans …

Member Avatar for YakuzaJevin
0
234
Member Avatar for alex.plouff

needing help with homework - calculator using javascript i need to grab the text from the <input> and use that number in the equation. <script> function runMe(){ var x == document.getElementById('input1').value; document.write(x); } </script> <body> <form> Enter number <input type="text" id="input1" value=""> <input type="submit" onClick="runMe"> </form> </body>

Member Avatar for AndrisP
0
122
Member Avatar for Violet_82

Chaps, I run into a strange problem today for the first time. Basically I have a web page that users can print using a print button on the page itself, but what I want is them to be able to print a print-only version of this page. So, I wrote …

Member Avatar for Violet_82
0
262
Member Avatar for shrikanthnk

hi kindly help me here..... i have written code like this to display **hi** when page gets loaded. please correct it this code so as to display message. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#b").load(function(){ alert("hi"); }); }); </script> </head> <body> ......... ...... .... </body> </html>

Member Avatar for JorgeM
0
127
Member Avatar for shrikanthnk

Hi All, Below code gives me exact result which I want.. output gets displayed at div # result which is as per design. Now i wouldlike to know is there any method to display result in textbox? if so please help me. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> { …

Member Avatar for diafol
0
583
Member Avatar for giovannitao_1

Hello, I'm working to cellphones spec script. Now I want to create a sidebar with several checkboxes that filter result using ajax. Someone can help me to create this?

Member Avatar for giovannitao_1
0
107
Member Avatar for miguel1810

Hey, I could sure do with some help on this... Been pulling my hair out. I have a single HTML file with various page transitions - I am trying to solve the coding issue to allow me to have four new blog pages - but that all default to the …

Member Avatar for mmcdonald
0
163
Member Avatar for mmcdonald

I'm about 80% into my first attack on JQuery/AJAX... how would one correctly write this function: function reloadResponses(){ $('#responses').load('pages/community/load-responses.php?id=<?php echo $id;?>'){ window.setTimeout(reloadResponses, 10000); }; }; I would like to reload `<div id="reponses"></div>` every 10 seconds. Is this the best way? I am currently using this to reload the div every …

Member Avatar for mmcdonald
0
214
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
499
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
246
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
169
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
231
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
317
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
428
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
411
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
161
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
765
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
343
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
245
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
69
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
92
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
112
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
335
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
292
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
279
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
301
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
137

The End.