52,566 Archived Topics
Remove Filter ![]() | |
I'm using **[Ascensor.js](http://kirkas.ch/ascensor)**. I need to detect which div section is visible in window to add animation effects to elements inside that visible div. For following code, <div id="ascensorBuilding"> <section> //floor one content here </section> </div> I'm using my code, <div id="wrapper"> <div class="section about" id="about"> </div> <div class="section home" … Web Development javascript | |
Hi, I'm trying to update multiple rows with diferent values. The amont of values depends on the number of people created by the user. I created some code that works for only single row. Can anyone help? I'm not sure how to do this. <?php if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == … Web Development php | |
I am trying to send a SMS from my Java web application using the API provided on this site. I am not able to receive the response code as its mentioned on its tutorial, which can be found here. I am using the Java version of the code for my … Web Development client-server java java-jsp ![]() | |
![]() | So I found this neat js for my site to make the video system much more streamlined. I was wondering if anyone knew how to change the carousel.js in the code, so that instead of circling around a few thumbnails, instead there would be a grid system of thumbnails underneath. … Web Development javascript video |
"httpError: The Http Transport returned a 0 status code. This is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." I am getting this error in my web page form... how to get rid of this message ............ Web Development http-protocol javascript ![]() | |
Good Afternoon, Im trying to get the value, of the standar headlogin name from the asp, username, nut getting all null exeptions, the code that i used was: //var Login1 = ((Login)HeadLoginView.FindControl("HeadLoginName")); //var Login1 = ((LoginName)HeadLoginView.FindControl("HeadLoginName")); //LoginName Login1 = ((LoginName)HeadLoginView.FindControl("HeadLoginName")); //string userName = Login1.UniqueID.ToString(); //string Username = User.Identity.Name; //Label1.Text = … Web Development asp.net ![]() | |
I encounter a minor problem but I could not determine what problem causes. Let me explain to you below. There are two scenario I tested. First Scenario: I use IIS to add a website and test the localhost - default.aspx is working. When I fill up the form and then … ![]() | |
This has been asked before in several places, but I keep finding the question and never a solution. If JavaScript on a page does window.print () I want to get back a status telling either 1) accomplished (which means there was some time elapsed, just like clocking does) or 2) … Web Development javascript printer ![]() | |
![]() | Hi guy I was wondering how I would overwrite something written on my form using variables ie. my limerick is There was a fat butcher called Bill Who cooked more than he wanted to kill One day he sat down And said with a frown That his eating was more … Web Development html-css javascript ![]() |
It's a bit confusing to explain so I'll give an example instead and try my best. So let's say I have multiple blocks of DIV element with same class name (can't change class name for each DIV), but within each of those DIV, the content is different (specifically the a … Web Development html-css javascript seo | |
How to solve the undefined index error? i have tried to make hidden field but not working also.. <?php if($nume==0) { echo "You currently have no item to show"; } else if(isset($_GET['msg'])) { $msg = $_GET['msg']; if($msg!='') { echo '<table border="1"> <tr> <td><font color="red">'.$msg.'</font></td> </tr> </table>'; } } ?></font></strong></p> <table … Web Development | |
## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in … Web Development api daniweb-api php ![]() | |
Hallo good people, I have been having an error of "Index doesn't exists in the specified directory" in my zend application. i have a controller called search and it looks like this class SearchController extends Zend_Controller_Action { protected $_indexPath = 'C:/xampp/htdocs/tbSurveillance/application/data/search'; public function init() { /* Initialize action controller here … Web Development php ![]() | |
All the characters in breaking down a string confuse me. I'm trying to understand how to find whatever number is in a string, and increment it up/down by one (unless it's a known last or first number?) $('#arrow_prev').click(function(){ var whichgallery = $('#div_id').attr('class'); // this could be .class_1 through .class_12 var … Web Development javascript | |
i have been using this code in creating blog i'm getting this error on exectute(array($title,$entry); line the error is Notice: Undefined variable: title in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 Notice: Undefined variable: entry in D:\xampp\htdocs\simple_blog\inc\update.inc.php on line 14 can any one please help me out. <?php if($_SERVER['REQUEST_METHOD']=='POST' && $_POST['submit'] =='Save Entry' … Web Development php | |
i searched about it but not get the proper result how can i install CEON URI module in my zen cart can any one help me in that thanx in advance ![]() | |
Hello Everyone, How can I save the field id/name on a variable, once an user clicks on it, so that later I can use that variable as a parameter to retrieve data from the database? In the code below, you can see that I am selecting information from 'ac' in … Web Development data-structure html-css javascript ![]() | |
hallo there i had built a bunch of webpages and they ve been working fine for months. yestarday i installed this website to another computer after i instaled easyphp 5.4.6 (Apache 2.4.2, mysql 5.5.27 and php 5.4.6). it seems that nothing is working as it should. after i debug my … | |
Hi guys, I'd very much like to develop a Firefox addon with JavaScript as standard but then interact with that addon with an ASP.NET & .NET application I am building (probably using Ajax). I've searched various places but have been unable to find out if it is possible. Thank you … | |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Head> <h:talkId s:mustknow="1" xmlns:h="urn:schemas-test:testgate:hotel:2012-06">sfasfasfasfsfsf/h:talkidId> </s:Head> <s:Body> <bookHotelResponse xmlns="urn:schemas-test:testgate:hotel:2012-06" xmlns:d="http://someURL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <d:bookingReference>123456</d:bookingReference> <d:bookingStatus>successful</d:bookingStatus> <d:price xmlns:d="moreURL"> <b:total>105</b:total> </d:price> </bookHotelResponse> </s:Body> </s:Envelope> want to read the bookingStatus and total from the soap message above using xmldocument and xpath but does not work i am using the code below XmlDocument document = … Web Development asp.net | |
select top 2 for a single column,,others with all data in sql | |
hello sir i am vikram. i want source code of faculty management system in .net. Web Development asp.net | |
actually the text box with multi line property does not support special characters in c# , how to solve this problem? Please can any one help to find a solution for this Web Development asp.net | |
I want to check if nickname contains only numbers and letters. It cant contain anything else. My current code is not working because as soon as I type in atleast one legal lettrer, the entire string evaluates to true every time I check, no matter how many illegal characters it … Web Development javascript json legal regex | |
I have an onclick function for an <ul><li>, but I need to set a variable from the id of an <a href> tag insde the <li> and I'm not sure how. I have: $('#dropdown ul li').click(function(){ var picked = $(this).attr('id'); // this part I don't know. // var picked = … Web Development javascript | |
Hi there, I have a classified website, built with custom PHP code. The problem is that the title of the entire site is the same. Attach files **index.php** and **pOffers.php**. Please give ideas on how to call from database the title of the listing. Tell me if you need more … | |
I'm working on a web application for a class of mine. The assignment is to create a College Services app where students can login and register for classes. Right now I'm working on the login portion and it coded out but I'm having some issue and hopeing I get a … Web Development java java-jsp java-netbeans session | |
Please does any one know how to configure signalR on an mvc project. Web Development asp.net | |
Dear Friends. When i going to UPDATE data of the database using UPDATE function in PHP, following message displays, What should I do? You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':_If_Any_01='Test', History_/_Remarks=NULL, … | |
hi everyone thanx alot for helping me u solved me many problem so i need ur help again after i'm login and choose a movie that the person want to watch it i'm create table time and i insert the time for booking and the user will choose the time … Web Development php | |
Hi everyone, I'm developing a music website and got stuck on this problem. Whenever a user submits a playlist from youtube, i fetch for video thumbnails and list them for the user. Here's the code: <? $site = 'youtube'; } $plID = str_replace("http://www.youtube.com/playlist?list=", "", $url); $xmlLink = "http://gdata.youtube.com/feeds/api/playlists/" . $plID; … | |
I am baffled, I've been trying to get this piece of code to work for the past 30 minutes but with no luck. It should in theory be a simple registration script to check the user's input and then add it to the database however it won't add it to … Web Development php | |
**I m not able into if statement its directly going into the else part. And Sometimes i get " mysql_num_rows() expects parameter 1 to be resource" this error. Plz help <?php // Connect to server and select databse. mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("db_feedback")or die("cannot select DB"); // username and … Web Development php | |
I have been inserting the file path in to data base but it s giving a mysql syantax error can any pne fix it <?php include 'db.php'; if($_SERVER['REQUEST_METHOD']=='POST') { if(isset($_FILES['photo'])&& is_uploaded_file($_FILES['photo']['tmp_name']) && $_FILES['photo']['error']==UPLOAD_ERR_OK) { if($_FILES['photo']['type']=='image/jpeg') { $tmp_img = $_FILES['photo']['tmp_name']; $path = "d:/xampp/htdocs/upload/images/" .$_FILES['photo']['name']; move_uploaded_file($_FILES['photo']['tmp_name'], $path); $imgname=$_FILES['photo']['name']; $q="Insert INTO image (name,imgpath) … Web Development php | |
i need to change background-color of a particular colum when the table header corresponding to that column is clicked.How to achieve this using html css & jQuery. Web Development html-css javascript | |
Hello, I have search box that has auto complete from database(works fine). But I need when the search box value auto-populates in textbox(address_name), the other textbox values come from mysql and automatically populate the other textboxes related to the textbox(address_name) i.e textbox(work_no) and textbox(work_address) using a button or onChange event … Web Development html-css javascript-jquery php | |
I'm trying to learn, understand and implement object-oriented PHP. Something's happening which I don't understand, and I would appreciate any guidance or help. I have the following class with the following properties and method: class Film { public $film_ids; public $numfilms; public function getFilms() { global $dbh; global $film_ids; global … Web Development php | |
I have been working this on and off for a while to encrypt data strings. Seems to work fine except Upper case letters are not encrypted, just stay as Upper case letters. It's got to be something simple, I just don't see it. Any help would be appreciated. <?php // … Web Development php ![]() | |
Good day, I am facing a trouble with my project. i want to load the database in my session but i dont have idea on how to do it. session["getName"] = _BLL.GetName(_myEntities); Response.Redirect("otherpage.aspx",false); on my master page. myLabel.Text = session["getName"].ToString(); that's my code. i want to get the record on … | |
hey all so there's another problem.. Actually I have a login page in my application. When user login with the appropriate credentials, different screens open up for different purpose. Each screen has a link called SignOut on the top of the page. Whan user logs out, he jumps to the … Web Development java-jsp ![]() | |
I have a session variable that I set to zero at every Page_Load beginning: Session["DoRefresh"] = "0"; On a dropdown value changed, in the event handler I do: Session["DoRefresh"] = "1"; On the end of aspx page I have a javascript added: function OnRequestEnd(sender, args) { if ('<%= Session["DoRefresh"] != … Web Development asp.net javascript session ![]() | |
I recently had a strange thing happen in an ASP.Net application I wrote in VB. When each session starts, one of the first thing it does is create a record in a SQL table and captures its ID value, which is an identity field. Two sessions were started very close … | |
<series> <asp:Series Name="Students" BorderColor="180, 26, 59, 105"> <Points> <asp:DataPoint AxisLabel="jon" XValue="5" YValues="4" /> <asp:DataPoint AxisLabel="kon" XValue="15" YValues="44" /> <asp:DataPoint AxisLabel="pol" XValue="85" YValues="90" /> </Points> </asp:Series> <asp:Series Name="Teachers" BorderColor="180, 26, 59, 105"> <Points> <asp:DataPoint AxisLabel="hjim" XValue="50" YValues="40" /> <asp:DataPoint AxisLabel="azdai" XValue="75" YValues="4" /> <asp:DataPoint AxisLabel="kriasm" XValue="35" YValues="29" /> </Points> </asp:Series> </series> … ![]() | |
![]() | Hi guys I'm fairly new to java script and was wondering if I could get some help with this, please forgive the probably messy code. <HTML> <HEAD> <TITLE>Limerick Generator</TITLE> <script type ="text/javascript"> function display(f) { f.result.value = eval((f.character.value) + (f.body.value) + (f.characterrhyme.value) + (f.occupation.value) + (f.task.value) + (f.verb.value) + (f.direction.value) … Web Development javascript |
there is no file zf.bat in zend frame work2 like in the previous version ............ please any one can tell how to install it easy way and in windows | |
<?php require_once 'lib/swift_required.php'; $transport = Swift_MailTransport::newInstance(); $mailer = Swift_Mailer::newInstance($transport); $headers = "From: Sebastian@Thorn.se" . "\r\n"; $conn = new mysqli('localhost', 'root', 'rushndie', 'bookmarks'); $username = $_POST['username'] $result2 = $conn->query("select * from user where username='".$username."' and passwd = sha1('".$password."')"); $row = $result->fetch_object(); $email = $row->email; $message = Swift_Message::newInstance() ->setFrom(array('sebastian@thorn.se' => 'SEBASTIAN JOHANSSON … | |
I've been given a script to work with for detecting browsers, to apply the correct css stylesheet. It's a little above my head, and I'm trying to determine how to make edits, to add in an if statement for this: Mozilla/5.0 (Linux; Android 4.2.2; Nexus 7 Build/JDQ39) AppleWebKit/537.22 (KHTML, like … | |
Hi. I use a fuction to retrieve some information from a remote site: $dom = new DOMDocument; @$dom->loadHTMLFile($url); $page_content = $dom->saveHTML(); When I echo the content, some characters appear like 'á'. I have tried many things from the internet, but nothing helped. Is there a solution? | |
I have built a private intranet using perl and have upgrading the site to IIS 7.5 on Windows Server 2008 R2. I have a section that prints tags formatted with win32 Printer. I have gone through all the steps to get perl to work. I was able to get this … Web Development client-server perl printer windows-server ![]() | |
I am trying to mess with different ways to do a hit counter. I currently have two files. Hit Counter and Count visits. Count visits calls hit counter and hit counter creates a table and increments it. I am not getting any output and I think it is in my … Web Development php |
The End.