199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vipmo

Hi, I have this javascript error that I am unable to fix unterminated string constant. Here is what I am trying to do var test = '<p>rajnas asdjhsadnmdas dasjads jmsad dasndsaads bnas</p> <p>ahdndsa</p>'; document.getElementById('education').innerHTML = test; How to fix this error?

Member Avatar for Taywin
0
164
Member Avatar for green-script

hi (1) e.x: arr1 ["aa.wav","bb.flv","cc.mp3"]; arr2 ["http://www.page.com/q.html","http://www.afaq.com/vb/showthread.php?t=77","http://www.daniweb.com/web-development/javascript-dhtml-ajax"]; if x[i] == any element (arr2) >>> do <iframe......> how to check if x[i] matches any element in arr2 ? (2) what is the best way to learn "javascript, ajax, dhtml, jquery" in the net ? thanks

Member Avatar for Taywin
0
230
Member Avatar for Farhad.idrees

HI i have many fields in form....i want to check if anyfield is null so i want to do alert mesege also want to change the colour of text field....i have written a code but no error but not working anything...my code is for java scritpt function validateForm(Qform){ var i=0,Q= …

Member Avatar for Farhad.idrees
0
332
Member Avatar for wordtechinc

CREATE PROC [dbo].[INRv2_GetAllSavedJobs] AS SELECT plm.jobcode [Job No],si.seminartitle [Seminar Title] FROM (SELECT DISTINCT pm.jobNo jobcode FROM inr_mailinglist pm) plm INNER JOIN (SELECT js.jobno, sm.seminartitle FROM inr_seminarmaster sm INNER JOIN inr_jobshedule js ON sm.seminarid =js.seminarid) si ON plm.jobcode =si.jobno ORDER BY plm.jobcode RETURN GO > This SP retruns [Job No] rows …

Member Avatar for wordtechinc
0
285
Member Avatar for mattwagner

Hello, I'm very new to using VB.Net so I found it quite difficult to understand other answers that I searched for. Basically, I have an project to develop where a user can create an account, and log in with it. So far I have : Created a database in ms …

Member Avatar for adam_k
0
7K
Member Avatar for coder91

Hi, I have code that increments values protected void IncrementOccur_Click(object sender, EventArgs e) { if (Page.IsValid) { //build object to insert occurrance Ad a = new Ad(); a.AdID = Convert.ToInt32(ddlAddtype.SelectedValue); a.AdRef = Session["SessAppRef"].ToString(); a.AdOcc = 1; try { //insert advert object into db AdManager.InsertAdOccRef(a); //rebind the gridview GridViewHistory.DataBind(); //reset the …

Member Avatar for coder91
0
351
Member Avatar for aishapot

Sub filllist() strsql = "select * from tabletest" ListView1.Items.Clear() sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqldr = sqlcmd.ExecuteReader() [B] sqlda.SelectCommand = sqlcmd -- the error is pointing here and it say NullReferenceException was handled then Object reference not set to an instance of an object. How do i solve this? …

Member Avatar for neeturathi
0
400
Member Avatar for gahhon

I am trying to implements a Silverlight object into my ASP.NET Webform due to assignment requirement. so i've decide to implements photo into the webform, but i found a problem which is the JS runtime error.. but i don't where do i code wrong because i am follow the guideline …

Member Avatar for gahhon
0
119
Member Avatar for gahhon

Assume that i have 2 .aspx page (From.aspx and To.aspx) and i have a hyperlink control inside the From.aspx which navigate to To.aspx and i used javascript to open a new window.. so now i have a Label inside From.aspx which have text = 1000. and i want pass it …

Member Avatar for gahhon
0
172
Member Avatar for pars99

Can you please help me and tell me what I am doing wrong? I have been looking at the program for two hours and need help. I keep getting this error: 'triangle' was not declared in this scope. Also, that is the only error, so I don't have anymore. Thank …

Member Avatar for pars99
0
2K
Member Avatar for jayson.ako_1

help, i would like to put a conditional statement if the quantity that customer will buy exceeds the remaining quantity in the inventory,and it will prompt a message that the transaction is invalid, heres my code.in buying portal.advance thanks for the help :) <?php require_once('auth.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for jayson.ako_1
0
217
Member Avatar for HunainHafeez

woww ! but i am wondering that is it possible to have two way communication between sandbox and LOCALHOST, i know that its possible to send parameters to sandbox via url, easy but is it possible to get parameters back from sandbox in LOCALHOST ?confirmation of payments etc ?

Member Avatar for JorgeM
0
194
Member Avatar for jprog1000

Hello Members, I have a program (from Deitel Java Solution Manual) which bounces a ball using a Java thread inside a JPanel(which is inside a JFrame). When I made a custom class for the ball, the program is not painting anything on the JPanel.I would appreciate any help. Following are …

Member Avatar for javaprog200
0
350
Member Avatar for sddq_bll

i Need to create a Menu Driven program ..but cant understand what it is ..some one help me out and explain me .

Member Avatar for amrita111
0
273
Member Avatar for tiekwebstar

I got a great response from this site. now my final thing is show gif loading image while getting data in Ajax.. my code is : function vote(id) { var result = new Array(); document.getElementById('sub-cat').innerHTML = ajax_image; result = $.ajax({ type: "POST", url: "ajax.php", data: "id="+id, async: false }).responseText.split("^"); document.getElementById('sub-cat').innerHTML …

Member Avatar for scrager
0
2K
Member Avatar for hwoarang69

html file <div id = "right_login"> <form id='login' action='login.php' method='POST' name=''> <h1>Log in to your account!</h1> <?php //print errors if(array_key_exists('log_error', $_SESSION) && !empty($_SESSION['log_error'])) { $log_error_r = $_SESSION['log_error']; echo "<span style='background-color:#D00000;'> $log_error_r <br/></span>"; unset($_SESSION['log_error']); } ?> <div> <label>Username:</label> <input type="text" name="username" id="login_username" class="login_field" value="" /> </div> <div> <label>Password</label> <input type="password" name="password" …

Member Avatar for scrager
0
106
Member Avatar for ayat abukhadra

Hello, I've recently created a vb.net windows form application which i user the background worker component in it, Now i'm trying to do the the same for smart devices in C#.NET or VB.NET, how to do threading in smart devices , what i basically wanna do is start a loop …

Member Avatar for ayat abukhadra
0
76
Member Avatar for xikhari.some1behindu

I get this issue but i dont understand it completly. Found some suggestions online but seems they depend on the source code. This is my code and i get the error where the arrow is int j; float aa=0, modanum, count=0, temp; float[] mod =null; float[] fin = null; int[] …

Member Avatar for deceptikon
0
215
Member Avatar for xXghostXx

I used these two queries for this database and the resutl was the same in both case so what the purpose of "persons.firstname" or "orders.ordername" what the difference ?? select** persons.firstname**,orders.ordername from persons inner join orders on persons.p_id=orders.p_id select **firstname,ordername** from persons inner join orders on persons.p_id=orders.p_id CREATE TABLE Persons …

Member Avatar for xXghostXx
0
151
Member Avatar for Vegito1991

This is my code class AddResult { private: string ar_stu_id, ar_mod1, ar_mod2, ar_mod3, ar_mark1, ar_mark2, ar_mark3; public: void addresult(); AddResult(string, string, string, string, string, string, string) { cout<<ar_stu_id <<" " << ar_mod1 <<" " << ar_mod2 <<" " << ar_mod3 <<" " << ar_mark1 <<" " << ar_mark2 <<" " …

Member Avatar for Vegito1991
0
125
Member Avatar for bsewell

Hello, I have done some filtering in an array using unset. The problem is that if I do a var_dump on the array after the filtering, then some of the keys are missing. Eg, key 2 isn't showing. So what I would like to do is to remap the keys …

Member Avatar for bsewell
0
96
Member Avatar for DelphiXE2User

Hi, I am in need of converting a project which is in Delphi 5 to Delphi XE2. When I run the same Delphi 5 code, in XE2 , I get some errors. In Delphi 5, we have used NMFTP component for file transfers. But here netmasters is not available. Instead, …

Member Avatar for pritaeas
0
351
Member Avatar for chandnigandhi

I am making a text editor in c language.I need a help for moving characters left,right,up and down.I am using turbo c compiler and i want code for navigation and not an ascii key codes.... please help me with this as soon as possible....

Member Avatar for deceptikon
0
153
Member Avatar for kishoresai438

Hi Team, This is Kishore, I have good experiance in Core PHP with Mysql. I am looking for learn new tools like frame work or CMS. I have 3.9 years exp in PHP Environment. Now I am looking for job change, So i want to improve my skills. Please suggest …

Member Avatar for anthonydiaz680
0
164
Member Avatar for Avicii

<div id="rightContent"> <div id="contentBox" class="right"> <div id="contentPadding" style="padding: 10px 10px 5px 10px;"> <div id="slickTitle" class="hotelStat"> <?php $userReg = mysql_num_rows(mysql_query("SELECT * FROM users")); ?> <?php echo $userReg; ?> Registered Users </div> <div id="slickTitle" class="hotelStat"> <?php $totalFurni = mysql_num_rows(mysql_query("SELECT * FROM furniture")); ?> <?php echo $totalFurni; ?> Total Furniture </div> <div id="slickTitle" …

Member Avatar for Avicii
0
150
Member Avatar for doha786

today 1st time i'm trying ot learn recursion funtion thru online tutorails but stuck at begining stage. i found below code but anything i give value its provide me output: 1 so, i need better explanation of that: function factorial($n){ if($n==0){ return 1; } return fact($n, 1); } function fact($i, …

Member Avatar for blocblue
0
91
Member Avatar for Jbvo

I am trying to read each word from a file and put it in a pointer then send it to a vector. Here is what I have so far. I am having a hard time sending the data to a function where I will add it to a vector. Here …

Member Avatar for Mephesh
0
155
Member Avatar for romanromeo89

Hello, I'm trying to send a new user info (username & password) to a php file (register_check_0.php) using ajax with jquery so i can check if user already exists. I use the post request below: $.post("register_check_0.php", { username: $("#username").val(), password: $("#password").val() }, function(data,status){ var result=data; if(result=="success"){ counter+=1; $("#registration").load("register_1.php"); } } …

Member Avatar for romanromeo89
0
1K
Member Avatar for biscayne

When trying to load csv file data into Scribus it only takes the data of the last row. I'm using ScribusGenerator.py by Ekkehard Will and my best guess is that the cause of the problem is somewhere in this part of the code: def replaceVariablesWithCsvData(self, headerRow, row, lines): # lines …

Member Avatar for biscayne
0
2K
Member Avatar for benjamin.mauerberger.9

Whats the best software to develope an iPhone game similar to angry birds. Thanks Benjamin Mauerberger

Member Avatar for ThaniyaMirza
0
66
Member Avatar for krystosan
Member Avatar for krystosan
0
145
Member Avatar for bettybarnes

I have a textbox which pulls the maximum value from DB. But it gives wrong value. Can you help figure out what went wrong here? **basicfunction:** private function basicInformation() { // initialize variables $host = "localhost"; $db_name = "test"; $tbl_name = "ballpark_details"; $username = "root"; $password = ""; // connect …

Member Avatar for adam.adamski.96155
0
165
Member Avatar for nore

I have a data table with query inside, then i need to sent value of data table exactly in datagridview i made before. Anyone can do this?:-/

Member Avatar for pcs77
0
15K
Member Avatar for bhagirathitoxic

I have a servlet in java. My servlet URL is [Click Here](http://192.168.10.113:8080/collective-intellegence/UserClickPersonClassifier?userid=1&query=asp.net) This URL is giving json data. I am using a jquery ajax call to get the data. **MyCode** function SecondResultLink(link, userId, userInput) { try{ var urlSearch = "http://192.168.10.113:8080/collective-intellegence/UserClickLinkClassifier?userid=" + userId + "&query=" + userInput; $.ajax({ url: urlSearch, type: …

Member Avatar for bhagirathitoxic
0
196
Member Avatar for moadah

i going to do college website which is best Zend or Cakephp framework to do it if there is another framework best tell me

Member Avatar for kevinp2012
0
127
Member Avatar for TimBob12

I am fairly new to Pascal and I have been attempting to write a hangman game. I am aware that there are probably so many better ways to do this than I have done but I am having some problems where the exit variable is not met because the current …

Member Avatar for pritaeas
0
282
Member Avatar for Bluescreendeath

Hi all I have been asked to calculate days in a week. I know there is not 24 hours but 23 hours 56 minutes in a siderial day. How do I express that fraction in interactive mode. For example: print 60*23/56/60*7 or something to that effect. Anyone? Glenn.

Member Avatar for Gribouillis
0
240
Member Avatar for Joey_Brown

Hello; I need to normalize a mysql database by placing it in a 3NF. Could someone please recommend a good book, topic or a webpage from where I could start learning about this matter? Thank you very much! Joey

Member Avatar for bkkrishna
0
160
Member Avatar for LSangalli

Hey everyone. I really need help with a question in Python. I have been trying for several days to figure this out. Any help will be much appreciated! Here is the question: Body Mass Index (BMI) is a good indicator of boy fatness for most people. The formula for BMI …

Member Avatar for TrustyTony
0
334
Member Avatar for dancks

I'm on the school server. So before I start I need to say I don't have a choice. I'm tired of reading post with nothing more than "Tell your administator to upgrade". I know. Stop. If I see it its getting flagged as spam. I don't really understand what about …

Member Avatar for diafol
0
156
Member Avatar for anand01
Member Avatar for jalpesh_007
0
144
Member Avatar for Arskap

Hi everybody, i want know how make admin panel and to it news system via [b]PHP[/b] and [b]Mysql[/b]! Is here anybody who knows how make it, and if here is somebody who knows, then can you help me? I'll try make a website where is news about sport things what …

Member Avatar for arun781
0
785
Member Avatar for KRUX17

Hi, I wanted to know how I can add data to an ArrayList if the collection is not: `Private ArrayList<String> files;` and instead: `Private ArrayList<People> files`. Would the code look like this: public void addPerson(String name){ files.add(name); } or: public void addPerson(String name) { People people; // Declare an object …

Member Avatar for jalpesh_007
0
229
Member Avatar for junweixiong

Hello, I am making a authentication software, and this is the code for the Username panel. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.Scanner; import java.util.ArrayList; import java.io.*; public class Username { private static String username; private static char[] actualUsername; public Username () { final JFrame frame = new JFrame("Username"); …

Member Avatar for junweixiong
0
4K
Member Avatar for junweixiong

Hello, I am making a Banking System, and this is the code for main. import static java.lang.System.out; public class BankSystem { public static void main (String[] args) { new username(); Password.setPassword("1234567"); new Password(); } } However, the problem is that both the username frame and password frame appears together. How …

Member Avatar for jalpesh_007
0
189
Member Avatar for xXghostXx

I want to select persons who has orders =<150 tried this query but of course it wrong anyone can point me to the correct one ? using Oracle or SQL select firstname,cost from persons,orders where cost=100 group by firstname CREATE TABLE Persons ( P_Id int NOT NULL PRIMARY KEY, FirstName …

Member Avatar for xXghostXx
0
280
Member Avatar for ashrafbd

hello i was trying to do one of my assignments but i got stuck at sorting my strut arrays elements by alphabetical order. here is the code that i have dose so far but after this even reading as much as i can, i can not get to go any …

Member Avatar for Adak
0
135
Member Avatar for amith_ami

hi all... pls help me... i have a problem with editing the record... my adding and editing page are same.... adding works properly but while editing a record for ex : if i change the emailid of a record and if the newly given emailid is already exists in the …

Member Avatar for amith_ami
0
98
Member Avatar for hwoarang69

my cookies not seem to be working. the seesion works fine tho. am i missing some thing? o and i doesnt print echo"on"; if($remember_p == "on") { //remember username for 42 hrs setcookie("id", $id, time()+20); setcookie("username", $username_p, time()+20); //seconds //header("location: index.php"); if(isset($_COOKIE['username'])) { echo"on"; } } else if($remember_p == "") …

Member Avatar for LastMitch
0
82
Member Avatar for vizz

Following code sets page(div's:- home,about,services etc ) height to 600px and when menus are clicked travels to perticular **div**. But it is not scrolling smoothly. It goes directly to that perticular **DIV**. I have used **animationTime = 900**, but it is not working. How to control scroll speed using **animationTime …

Member Avatar for vizz
0
187

The End.