- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Ok so I have this code to submit form to php without reloading page. It works perfectly, and makes sense. form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>JQuery Form Example</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#myform").validate({ debug: false, rules: { name: "required", … |
|
Re:
hi i am trying to, on a button click, display data retrieved from mysql database in a text area but having no success. Below is the code i used. All help given is appreciated [CODE] print "<center><TEXTAREA NAME=news ID=news COLS=70 ROWS=10>".$news."</TEXTAREA></center>"; if(isset($_POST['show2'])){ $cn = connect_db(); $cn_sql = "SELECT message from … |
|
Re:
hi all, i have 3 php websites , each one requires login (same username+password for all of them) they run on apache virtual hosts on the same machine. i want to centralise login on a single page by adding 3 forms on a page so that when i click on … |
|
Hey all, I tried to do a simple redirect from domain.com to [url]www.domain.com[/url] and being the noob that I am, I apparently caused some sort of lingering issue. Now anything with a / in it gets the slash removed. For example, a link to domain.com/blog goes to domain.comblog. I took … |
|
Re:
Hi how do i update a selected column with numbers ? 001 002 003 004 005 and so on when i delete a row shall we say 003 i have then the numbers 001 002 004 005 thats not the problem the problem is when i insert a new image … |
|
I am running the following code: [CODE] if(is_array($check)) { foreach($check as $val) { if($_SERVER['PHP_SELF']==$val) { $show = false; break; } else { echo "<p>".$_SERVER['PHP_SELF']."!=".trim($val)."</p>"; } } } [/CODE] And I am getting the following output: /client/scheduled.php!=/client/scheduled.php Hopefully it's not something dumb on my part, I appreciate any advice. |
|
Re:
Ok i'm trying to build a forum with jquery ajax characteristics. Below is the html/jquery coding. And i know jquery is loaded because I did the [ICODE]alert(1);[/ICODE] inside the document ready and it worked. [CODE] <!doctype> <html> <head> <title>Shouts!</title> <script src="jquery.js"></script> <script> $(document).ready(function() { $("#messages").load(function('loadchat.php'); $("#post").submit(function(){ return false; }); }); … |
|
So I'm trying to access the .css('height') of an element and it keeps returning 0px regardless of what it's height is. I've put a couple alerts to see what it gets in the $(document).ready() function so it should be accessible by then. The height property is being set in the … |
|
Re:
Hello, I'm going to make a portfolio and am trying to use jquery for effects. Basically I have several menus and when I click on any of them the showed text in content div of page should change, using ajax. These are levels: a) SlideUp the #Content div b) Change … |
|
Re:
XMLHttpRequest() function not work with IE 8. But its woking properly with other browsers. Ex: [code=JavaScipt]if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); }[/code] I need a code for IE 8 also. Thanks Puritha |
|
Re:
hello, iam very new in jQuery. Need help asap please. on my asp.net page I want to use two jQuery functions. 1. Clears textBox when user clicks on it. 2. Clears all inputs when user clicks on btnCancel button. I made two functions [CODE] //clears value from onclicked input $(document).ready(function … |
|
Re:
Ok i have a problem i cant solve I have 2 images image one saved in location x and has name x1 image two is saved in location y and has name y1 Now i want a script that picks up image y1 and replaces x1 with y1 using changeing … |
|
Re:
Searched hours online to no avail. This should be fairly easy for anyone experience with PHP (aka not me!) All i'm trying to do is create a text search box and send button. 1. Users will add a keyword and click send. 2. Link to an external website that loads … |
|
Re:
Dear Friends, I am a web designer hence i only know very little of PHP programming. I need help on the PHP script for me to post data from other server to my server. Due to my lack of knowledge in PHP so i'm using JetForm.com as a third party … |
|
Re:
I am on a godaddy server now and trying this mod-rewrite stuff and it is still not working. I have been searching google now for hours looking for the answer and cannot find it. Here is my entire .htaccess file: #Rewrite Rules Options -MultiViews Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase … |
|
Re:
Hi everyone, I have a very large CSV file. 51427 lines to be exact. I need to import the entire file into a MySQL database, however, the script times out due to server settings and slow connection (and maybe other reasons that I am not aware of). So - I … |
|
I spent some time this morning trying to figure this out, and finally did. I thought I would share: [CODE]$('body').click(function(event){ //You can swap .attr('class') with whatever and it probably will work. Nested divs may return the top parent's class, so you may need to fool around with it some. If … |
|
|
Re:
Hi, I would like to develop a php web application using wamp - just something simple to start out. What IDE should I use? and how do I link it to wamp? Thanks! |
Re:
I keep getting a T String parse error. I am not sure what I'm missing? Any help would be appreciated! <?php $filename = "http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf"; if (file_exists($filename)) { echo "<a\href="http://www.empowergroupusa.com/cambiolabs/extension/catalog/files/inspection_886.pdf </a>"; } else { echo "The file $filename does not exist"; } ?> |
|
Re:
hi all, i am having a upload files field with browse button...Now what i want actually is when i click the button "Browse..." the popup screen will popup, then normally it will browse all the files(doc, html,xls....) but i just want it to show the *.doc files ....so can any … |
|
Re:
Here is a snippet of my codes[CODE]<?php $animesql = "Select titles.name FROM titles WHERE titles.cat_id = 1 ORDER by name ASC"; $animeres = mysql_query($animesql); echo "<table id='MISC' style='display:none;' width='200' border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><td><p class='al_toggle_txt'>"; while ($anime_list = mysql_fetch_assoc($animeres)) { //$str = str_replace(" ","",$anime_list['name']); $str = preg_replace('/[^a-zA-Z0-9]/','',$anime_list['name']); echo "<span style='cursor:pointer;' … |
|
Re:
My uploader allows the following file formats: jpg pdf gif png I tested that if someone was to name a file configure.php.jpg, my uploader allows it to upload I want to do a check to see if the user has 2 extensions, and if so it will not allow them … |
|
I have been trying to get a loaded element to fade in on Safari for about 2 hours now to no avail. Anyone aware of a fix for this? Here is my code: [CODE] $('#badgeHolder').fadeTo('slow',0); $('#badgeHolder').load('somePage',function(){ $('#badgeHolder').fadeTo('slow',1); }); [/CODE] I have also tried: [CODE] $('#badgeHolder').load('somePage').hide().fadeIn('slow'); [/CODE] Either one of the … |
|
Re:
Am working on a php/mysql project that involves displaying long piece of text on a page. The text being that long, I would like a way of splitting up this article into multiple pages that will give my project the ease of navigating through. Any help would be highly appreciated. … |
|
I have a neat idea for an ajax/php rpg engine and want to get together with a small group of php developers with some free time and make this happen. I really think it could be fun to develop and also fun to see people enjoying the end result, but … |
|
Re:
Hello. I am trying to create an update form that will update values in a MySQL database. The forms are generated for each different row in the database through a while loop (ie whilst there is another row, make a new form on the page). However, I cannot get it … |
|
Re:
Today is a long day ! I wish to replace the entire old data from a table with new one. Update is not helping me cause i do not have an autoincrement field. What to do? Thank you in advance |
|
Re:
I have a database with some tables from a restaurant and users can see if they are [I]free[/I] of [I]reserved[/I]. If [I]free[/I] they cand book that table. Now, my question is this: What can i do so that after (let's say 1 day (or any amount of time) after the … |
|
Re:
hi can any one please tell me how can i increase sql packet size in xampp server? i am getting an error like "Mysql packet size is 1MB and it is lower than the size of the file GeoIPCountryWhois.csv which is 9MB. " Thanks |
|
Re:
Hi all i am tracing ip addresses of all the site visitor using $_SERVER['REMOTE_ADDR']; and its working fine, But i want to exclude all ip starting from 172.122.*.* . i want to put "if" condition but don't know how to track these first two figure. can anyone please tell me … |