15,127 Topics

Member Avatar for
Member Avatar for camillee

i want to make a pop window like in javascript, when a user enters invalid username or password, a window appears requesting valid information. how can i do that please?

Member Avatar for diafol
0
5K
Member Avatar for Siberian
Member Avatar for Siberian
0
113
Member Avatar for <M/>

This is a pretty darn simple snippet that I learned from a site (don't remember the name). This is just the working Javascript which i managed to "easily" replicate :P Hopefully this will be useful for you guys. Note, this won't graph anything unless you have the html/css (i didn't …

Member Avatar for <M/>
0
213
Member Avatar for garyjohnson

I have a link that once clicked is suppose to make a div visible. So far it does but it only makes the div visible for a second then it returns to being invisible. I gave the div the value `display:none;` in Css and the javascript gives it the value …

Member Avatar for hericles
0
1K
Member Avatar for Ole Raptor

I have a function that calls a php script to update cart items (cookie). When I have multiple items in the cart I use a loop that calls my function. function updateCart(ur){ $.ajax({ url: ur, success: function(data){ console.log(data); } }); } I think this is firing too fast or something. …

Member Avatar for Ole Raptor
0
219
Member Avatar for Tcll

this JS code goes towards a plugin for my forum. the user-code for the smileys is supplied from a <span>user-code</span> or dictionary object as: "{':\\)':'http://somedomain.com/smile.gif',':\\(':'http://somedomain.com/frown.gif'}" ^while this is user-code, a GUI replaces the textarea containing this, so the user doesn't get to see this code. as for the code that …

Member Avatar for Tcll
0
136
Member Avatar for xTurK

Hello, How can I modify contents of a web page (like text) and have it stay that way locally, even after refreshing and reloading the page from a hyperlink? I know you can use Javascript to modify information in a web page, but that is only temporary. I want to …

Member Avatar for xTurK
0
265
Member Avatar for dhani09

I'm working on a website with a sign-up form. I've been able to perform validation without page reload, printing appropriate error messages.However i'm trying to implement an interface i've seen on a couple of websites, where a user is guided to fill certain fields like password that come with restrictions, …

Member Avatar for dhani09
0
162
Member Avatar for phoenix_2000

Heya all, I'm trying to render a histogram of relative frequencies using D3 in combination with AJAX. Now i'm getting all my data correctly, but when i try to draw my chart, the first 2 bars are missing. The only error i'm getting on both firefox's and chrome's javascript console …

Member Avatar for phoenix_2000
0
3K
Member Avatar for nouth

Can someone explain this what it is doing? if ( condition1 && condition2 && condition3 && condition4 && condition5 ) { code } It doesn't do what I want it to do but this does. if ( condition1 ) { if ( condition2 ) { if ( condition3 ) { …

Member Avatar for stultuske
0
153
Member Avatar for <M/>

I am trying to create a way so that I can collect 5 points within the (x,y) format. Then, I want to take those points and plot them on a coordinate plane. I am not sure how to write this, espicially when I am only planning on PHP. I have …

Member Avatar for diafol
0
292
Member Avatar for Siberian

I want the script, when the event is clicked, animate the div into view, only unless the div is clicked. Is the follow script in the right direction ? $("#open").click(function() { .animate(easeInOutBounce) )};

Member Avatar for Siberian
0
128
Member Avatar for ankit1122

hello sir, can i use ajax in textarea for showing hints from within a file..i think web development forums used this technique for tgging the posts...

Member Avatar for diafol
0
262
Member Avatar for ErlendHL

Hi! I have now learned how to write to and read from .txt files on my server via [B]php[/B], but is it possible to do this with [B]JavaScript[/B]? :icon_question: Like that JavaScript writes to the .txt file every second without needing the user to refresh the page to write or …

Member Avatar for Donald_2
0
20K
Member Avatar for missy786

I am trying to create a event listener function, which can render table from drawVisualisation(), when the page loads, but when I click on the controls[[categoryPicker(**dropdownist**), stringFilter(**textbox**)]], as the controls filter the data. When the user passes the filter, i would like the data to be filtered and render table …

0
109
Member Avatar for Priti_P

Hello, I am using Yii framwork. What I want to do is, I have a dropdown and one button. on button click, i want to send selected value of dropdown in url. <div class='box'> Change to another Skill Type<br> // IT IS DROPDOWN WITH VALUES AND ID of this input …

0
174
Member Avatar for aparnesh

How can I prevent the user from typing in a date or anything else in the <input> element connected with a jQuery datepicker ?

Member Avatar for jstfsklh211
0
277
Member Avatar for 203428

hello everybody; up to what level can I use javascript (taking advantage of the strength of phonegap or Titanium) to create an android application. ex 1:can I create or run a service (in the android sense) !!! ?? or can I access to the GSM properties like provide package android.telephony.gsm. …

Member Avatar for 203428
0
247
Member Avatar for <M/>

Hey guys, I am back from the dead (i don't mean it literaly)... I was working on a graphing calculator and I stumbled onto a random problem, which i know is really simple, but I constantly keep over working it (and now I am tired...) to the wrong direction. In …

Member Avatar for <M/>
0
347
Member Avatar for wfray

I've recently upgraded to Windows 8.1 and IE 11. When testing my PHP/html/Javascript code, using Xampp, various display and processing errors occur. For example: a particular javascript function doesn't seem to even get get invoked; the javascript return function works differently; icons don't display correctly, etc. When I put the …

0
168
Member Avatar for daocntt

I have an string get to url as : TP.+H%E1%BB%93+Ch%C3%AD+Minh . I want convert of utf-8 format.

0
146
Member Avatar for vizz

When mouse is moved in right direction, move follower in left direction, when mouse is moved in bottom direction, move follower in top direction Simply move `#follower` in opposite direction of mouse move events (move fullscreen div) var mouseX = 0, mouseY = 0; $(document).mousemove(function(e){ mouseX = e.pageX; mouseY = …

0
123
Member Avatar for dlmagers

Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter degrees in Fahrenheit\n Or enter 999 to end entries'. I am not sure what I am doing wrong. Thank you …

Member Avatar for Alberto Bucur
0
1K
Member Avatar for pspwxp fan

Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = …

Member Avatar for iamthwee
0
379
Member Avatar for imaxy

i want to redirect forms like bit.ly/XXX and bbc.in/XXX into bitly.com/XXX, can anyone write a greasymonkey script here? thanks a lot.

0
102
Member Avatar for vizz

When mouse is on image display one value from array inside **thought** div's span. Show next value each time. When values ends start with first value [something like this](http://jsfiddle.net/W4fm9/) , but when hover on image var arrValues = [ "one", "two", "three" ]; <img src="images/thinker.png" /> <div class="thought"><span></span></div>

Member Avatar for vizz
0
242
Member Avatar for davy_yg

Hallo, How to create a check mark (V) if status is enable and a cross mark (x) if status is disable. I basically trying to create a CMS for an article. Therefore, if the article is not viewable by others (disable x) or viewable (enable V). Lol. I don't know …

Member Avatar for davy_yg
0
172
Member Avatar for dany12

I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now …

Member Avatar for dany12
0
294
Member Avatar for cilla

[www.unitedinblue.com](http://www.unitedinblue.com) There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, …

0
180
Member Avatar for general2012

there are two properties for my bike method.front gear and rear gear.i want another property which will be a new property called gear ratio property which can be obtained by multiplying front and rear gear numbers.the code i have written giving continuous error.how it can be fixed. <html> <head> </head> …

Member Avatar for GliderPilot
0
390

The End.