15,688 Topics

Member Avatar for
Member Avatar for kletig

Hi there! I'm using PHP together with jQuery/AJAX to submit a login form without reloading the page. Basically the code works like this: Login.php (The actual form) -> process-login-admin.php (server-side validation and authentication) -> Echo error message The error messages is displayed in a hidden div (#feedback) on "Login.php" that …

Member Avatar for kletig
0
7K
Member Avatar for jogieglenmait

how do i print a 2d array in a javascript without leaving the form. because whenever i click a button, an element is added to the array but it shows it in a different page here is my code function addNumbers2Array() { MultiArray [x] = new Array(6) MultiArray[x][0] = parseInt(document.getElementById("latitude").value); …

0
100
Member Avatar for tst234
Member Avatar for little_john

Hi, I'd like to edit database with quickedit, the script is work fine if in the first page, but if in the other page it go to top page again when I click on it. How to fix so it won't reload to the top page. Here is the main …

0
116
Member Avatar for Violet_82

Hi there, I think I have made a mess of the site I am working on, and I was wondering if anybody can help me understand how to fix this issue (if it is an issue at all) Basically on this page I have 14 pictures http://antobbo.webspace.virginmedia.com/petras/test/czech_republic.htm and my script …

Member Avatar for Violet_82
0
164
Member Avatar for klemme

Hi all, Is there anyone who has used bumpbox, and integrated it succesfully? (http://www.artviper.net/bumpbox-demo/index.html) It is a lightbox which can display PDF inside the lightbox, which is what I am after. **I am testing it on localhost, but it should work anyways right?** This is what I have in the …

0
47
Member Avatar for stangn99

Hi All....this looks like a nice place to ask questions :) I'll start off by saying that I'm a total noob. I have a DIV with a static height set. Some dynamic content is being loaded into the DIV via PHP. My problem is, when I click on a link …

Member Avatar for aditya19897
0
2K
Member Avatar for vizz

is anybody know about drawing arc using jquery? I want to draw arc using css3 and javascript/jquery, I don't want to use HTML5 or canvas or else

0
48
Member Avatar for trinityit

How do I get the results of this to be on the same line? I would like it to say From Atlanta + away New York on the same line. It is currently putting the second selection on the next line. Sorry for the dumb question. I'm new to this. …

Member Avatar for fobos
0
60
Member Avatar for Heinz Stapff

confused: Not sure why this function works the first time but doesn't the second or third time. Any advice greatly appreciated. This is called with ul li tag onclick which sends an ajax get call to the database so the array can only contain upto 3 matching indexes. I should …

Member Avatar for Heinz Stapff
0
139
Member Avatar for ThakurSuraj1991

on click of Stream radio button the corresponding year should b displayed.. And on click of year the corresponding subjects should be displayed.. But it doesnt workk..!! Plz help...... This is my script: <script type="text/javascript"> function get_value_year() { var rad_val=""; for (var i=0; i < document.userform.myStream.length; i++) { if (document.userform.myStream[i].checked) …

0
67
Member Avatar for Punny

I'm still reading my kiddie book on JavaScript 101 and I feel like I want to exercise what I have learned and I got this far and now I really want to turn this into a calculator. How can I turn this into a calculator? ` <html> <head><title>Calculator</title></head> <body> <form …

Member Avatar for almostbob
0
85
Member Avatar for vizz

![MySite11](/attachments/small/2/MySite11.png "align-left") ![MySite2](/attachments/small/2/MySite2.png "align-left") I'm trying to achieve this animation from last week. Please help me. What I want to do,- 1. How to draw centered position circles with small cut at different angles 2. When clicked on logo display menus to bottom or right to circle 3. When clicked …

Member Avatar for vizz
0
173
Member Avatar for dany12

Hello How can you store a theme(css jquery html) in a database and retrieve it using php and jquery ajax Can this be done in json and what advantages are with this tehnology,I am new to json and don't know that is why I am asking any ideas will be …

Member Avatar for diafol
0
114
Member Avatar for fka
Member Avatar for latortuga42

Hi, I have a JavaScript validation function that worked before I changed the sendmail file to a php version (had to becfause of host's linux server). The sendmail code in the php file has some validation checking, but I would prefer to use the validation.js file with the form's onSubmit …

Member Avatar for ddymacek
0
701
Member Avatar for shandoosheri

hi i have an outer div which contains alot of inner divs like this '<div id="wrapper"> <div id ="1" class="hoverme">sometext</div></div> so what i nedd to do is that i need to detect the on hover stat of ever hoverme class in tthe wrapper div and return the id number of …

Member Avatar for shandoosheri
0
162
Member Avatar for jj.amonit

Can anyone help me figure out why my dialog won't go away when clicking the x? When I click it with modal = true, the modal portion disappears, but the dialog remains. With it off, the dialog still remains. I have tried multiple things, but it won't go away. I …

Member Avatar for fobos
0
3K
Member Avatar for Thevenin

I have two Ajax function that are on the same div, so the first one isn't executed or better is canceled from the second one. Any hint on how to fix this problem? I wasted two days and wasted my brain too without finding a solution. $(function(){ $('#navigation').find('a').tooltip({effect: 'slide'}); }); …

Member Avatar for Thevenin
0
110
Member Avatar for Heinz Stapff

OK. I'm learning. I have a side bar with pseudo links(no a tags)ul li elements that automate httprequests nicely. They call different db tables to a display div on the index page. Right now the tables are small and a javascript function deliniates the last row echoed as 'Last Item' …

Member Avatar for dschuett
0
87
Member Avatar for dschuett

I am trying to make a datepicker that sets a maxDate of 2 **business days**. Right now I am using the following: $(document).ready(function() { $('#intnewDate').datepicker({ beforeShowDay: $.datepicker.noWeekends, inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, maxDate: 2 }); }); I am disabling weekends with $.datepicker.noWeekends, but when using maxDate: 2 it counts …

0
133
Member Avatar for dschuett

I have a datepicker field that the maxDate doesn't seem to be working on. jQuery: $(document).ready(function() { $("#intorgDate").change(function() { var myDate = new Date($("#intorgDate").val()); //ENTER VALUE IN mm/dd/yy FORMAT var mymaxDate = new Date(myDate +7); $('#intnewDate').datepicker({ inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, defaultDate:myDate, minDate: myDate, maxDate: mymaxDate }); }); });​ …

Member Avatar for dschuett
0
6K
Member Avatar for dschuett

This works: while($row = mysql_fetch_array($results)){ if($isfirst){ $last_id = $row['id']; } $isfirst = 0; $msg_id = $row['id']; $message = nl2br($row['post']); $time = $row['post_time']; $name = $row['firstname']." ".$row['lastname']; if($row['updated']=='1'){ $updated = "- <font style='color:#DB4937;'>CORRECTED</font>"; } else{ $updated=''; } $newPosts .= "<li id='msgblk_$msg_id'><span id='message_$msg_id'>$message</span><p class='time' id='time_$msg_id'>$name - $time $updated</p></li>"; } $newID = $last_id; …

Member Avatar for dschuett
0
285
Member Avatar for mnshwarner

My ultimate goal is to save rendered presentation MathML to a .PNG file. Knowing just enough about programming to be dangerous :-) there may be a better way to do this...I am drawing the equation on a canvas element, then trying to save the canvas element as a .PNG. I …

Member Avatar for mnshwarner
0
1K
Member Avatar for Inny

I want to Show Videos inside an Image of theater curtains, image should float ABOVE the videos. Cant work out why it wont work, I have. [CODE]<style type="text/css"> #tablist{ padding: 3px 0; margin:0; font: bold 12px Verdana; } #tablist li{ list-style: none; margin: 0; width:130px; } #tablist li a{ padding: …

Member Avatar for lotsakandy
0
351
Member Avatar for kukula

Hi there, during developing website for my father's company ( [website](http://www.pgum-sill.pl/nowa_strona/index.html) ) I find out that I have problem with personalization of different lists. In this case I wanted to make a floating menu like thise one here: [Floating Menu](https://d2o0t5hpnwv4c1.cloudfront.net/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html) (this page is from this [Tutorial](http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/)) At the pages above …

Member Avatar for fobos
0
344
Member Avatar for icedome

Hi guys, Does anyone have an idea of a jquery plugin any other js plugin for editing and saving an image? I wanted to do something like this: [http://www.customink.com/lab/?#shared](http://www.customink.com/lab/?#shared) But only with option to add text and afterwards saving the image. Any help? Cheers

Member Avatar for stbuchok
0
120
Member Avatar for jocky c

Hi guys, ive been here once before and you rocked so...... Im using jquery idtabs which contain 2 separate carousels in the same page (id like to up this to 4 eventually). Unfortunately when the 2nd link is clicked the carousel does not perform as it does in link1. You …

Member Avatar for pritaeas
0
88
Member Avatar for dschuett

I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in …

Member Avatar for pritaeas
0
188
Member Avatar for dips255

i have placed a text box with onclick and onblur event. onclick shows contents(links) of a div tag below it and onblur hides the div basically it was a jquery based drop down menu but due to some problem I need to avoid jquery. Now the problem happens when a …

Member Avatar for dips255
0
141

The End.