199,114 Archived Topics
Remove Filter ![]() | |
I have the following code: if (object.GroupBy == "Cities") $("body").children().find("td:first[name=Name]>").html("City"); if (object.GroupBy == "Banks") $("body").children().find("td:first[name=Name]>").html("Banks"); if (object.GroupBy == "User") $("body").children().find("td:first[name=Name]").html("Users"); <tr class="form-list-table-header"> <td class="" name="Name"></td> <td class="" name="Total">Total</td> </tr> <div><span>Group By</span></div> <select class="combobox" name="GroupBy"> <option value="Cities">Cities</option> <option value="Banks">Banks</option> <option value="Users">Users</option> </select> </div> If the user select Cities, the td is … | |
Hi, Is there simple way to call cffunction using cf component- button or link, or whatever. I have list with multiple documents and in the end of each line i need component which user can click, and on click i need to call cffunction. | |
hello guys ... i have a problem regarding on this error 1. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 104 2. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 120 3.Notice: Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 163 4.Notice: Undefined index: … | |
Hi, i want to set a coldfusion variable to undefined within a javascript function, i just written as below, but without calling the method it automatically set the variables on page load. Can anybody help me in the same i want to set the below variable only on call of … | |
Okay. I have encrypt and decrypt file done. Let start at being I ask user for key and what file what they want to read or encrypt. And encrypt. For decrypt it same code. Now i have problem at let say the user enter 5 for key. How can i … | |
Hello guys, I wonder if you could kindly explain this to me. Basically, I've got a form and a thank you message above it, here they are: <asp:Content ID="Content5" ContentPlaceHolderID="contentPlaceholder" Runat="Server"> <div class="thankYouMsg" id="thankYouMsg" runat="server"> <h2>Thank you for your feedback.</h2> </div> <div class="contactForm" id="contactForm" runat="server"> <h2>Contact me</h2> <div class="form" runat="server"> … | |
Hello guys, I'd like to clarify a few things with IDs and classes. As I've learned so far, ASP.NET adds its own id and overwrite the previous one, if there was any. Let's just take a recent example, the panel I added in my previous thread: <asp:Panel ID="ThankYouPanel" runat="server"> <div … | |
Hi All, I'm writing an app that prints of batches of documents to clients for posting. The printer uses OMR to collate and fold the documents into envelopes automatically. The document inputs will either be Word or Adobe Acrobat. I have routines to print off each document type while adding … | |
Am trying to make a simple categorys script but am not having much luck . CREATE TABLE `portraits` ( `n` INT(11) NOT NULL AUTO_INCREMENT, `category` VARCHAR(25) NOT NULL DEFAULT 'Main', `collection_id` VARCHAR(5) NOT NULL DEFAULT '00000', `collection_name` VARCHAR(55) NOT NULL DEFAULT 'Free Gallery 1', `permissions` INT(1) NOT NULL DEFAULT '0', … | |
<ul class="sf-menu"> <?php $menu_query ="SELECT * "; $menu_query .="FROM `menu`"; $menu_query .="WHERE `Status` = 'Enabled'"; $menu_query .="AND `ParentMenuID` = '0'"; $menu_result = mysqli_query($connection,$menu_query); while($row = mysqli_fetch_array($menu_result,MYSQLI_ASSOC)){ $PageID=$row['PageID']; $ID=$row['ID']; $LW=$row["LinkWidth"]; $menu_qry_for_page ="SELECT * "; $menu_qry_for_page .="FROM `page`"; $menu_qry_for_page .="WHERE `ID` = '$PageID'"; $menu_qry_for_sub ="SELECT * "; $menu_qry_for_sub .="FROM `menu`"; $menu_qry_for_sub .="WHERE … | |
Hi, I'm trying to make a game, so when the NPC talks to the player, I want the text to type it self So it would be like: H He Hey Hey t Hey th Hey the Hey ther Hey there Instead of just Hey there. I've attempted to do … | |
Hi, I've just started using Python/Pygame as a hobby. I've gotten the code to draw my Plane.png and move it using the wsad keys, and I mapped the q and e keys to rotate it which it does, but each time it rotates, it 'falls' down the screen to the … | |
Hi, I have to forms, second for is shown from the first form trough showdialog command. Both forms have datagridview User will select data from DGV in second form then pass all this data to DGV in first form How can I achieve it, I know how to do it … | |
Hello, Please let me know how should we get the id of an entity and put it in the another entity. I have two entity User and Track. I tried the below code I couldn't make. Please help! class Review(webapp2.RequestHandler): template = JE.get_template('templates/Review.html') self.response.out.write(template.render()) def post(self): n = self.request.get('user_name') t … | |
I am trying to create a form dynamicly and thus I need to initialize my DBGrid with code. { Connect the DBGrid to the database. } procedure TfrmRemoveRecord.InitDBGrid(); begin dbgList.DataSource := dmProgramDatabase.dsrCaches; end; But I get an access violation error. | |
I have the code: $VolunS = array('aro','clergy','intskills','interpt','bus','child','law','cpr','cpryn','data','security','emergency','computer','mechanical','administration','firstaid','faid','translation','translate','construction','basicclean','foodprep','animalcare','heavy','other3'); foreach($VolunS as $skill){ if($person["$skill"] != ""){ echo $person["$skill"] . ", "; //this is the line where echo is replacing $row .= } } And my problem is that I am adding an extra comma at the end of the list. The purpose of … ![]() | |
Hello, I want help for recursive in php which like structure is attachment file.. [1] **Sire (Parent)** > Sub1 ->nChild.. > Sub2 [2] **Dam (Parent)** > Sub1 ->nChild.. > Sub2 ->nChild.. Do you have some example of code so its better for me. Thank You. | |
Hi, I'm getting an error that I generally understand in a situation that makes no sense to me. I was hoping for some direction - to see if anyone had any ideas. I have a profile page users can edit. When they do it uses user_action.php to commit those changes … | |
On uploading a picture in a comment initially in preview it is upside down. | |
Hello! I'm trying to transform working Python code to Matlab code. It's Simpson's rule. But MatLab code is not working. What should I change for in this code? Python: from math import sin def f(x): return ((0.6369)*sin(sin(x))*sin(x)) def method_simpson_compost(f,a,b,n): h = (float(b)-a)/n i = 0 fks = 0.0 while i<=n: … | |
using turbo c++: write a program that converts the input dollar to its peso equivalent.Then display the peso equivalent.One dollar is approximately 45.119 pesos. | |
import java.util.*; public class Initials { public static void main (String [] args) { Scanner keyboard = new Scanner (System.in); String name; System.out.println("Please enter your full name including your middle name: "); name = keyboard.nextLine(); System.out.println(" "); int x = name.indexOf(' ')+1; String nameTwo = name.substring(x,name.length()); int y = nameTwo.indexOf(' … | |
in stuednt admin i wan it to insert and also select from tbl_stuendadmin how to put it togeter If String.IsNullOrWhiteSpace(txtcard.Text) Or String.IsNullOrWhiteSpace(txtadmno.Text) Then MessageBox.Show("Please complete the on the box.", "Authentication Error", MessageBoxButtons.OK, MessageBoxIcon.Error) Exit Sub End If Dim Conn As System.Data.OleDb.OleDbConnection Dim ConnectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\Database1.accdb" Conn = … | |
Greetings pros, Can someone give me an idea on how to create a notification like the comments on facebook? What i have in hand is; The Counter increases when the database updates. But the counter only updates when the user hovers it. So What i need to do is. When … | |
Dear all, I am trying to edit the .resx file (Form1.resx) so I can localize my application for different settings. However, when I edit my .resx file and then view it in Visual Studio, I get an error "ResX file Data at the root level is invalid. Line 1, position … | |
I have tried to understand writing C code and I've struggled to grasp this. I'm looking for any help I can get at this point. Below is a problem I need to write the C code for. Is there anyone that can help me? Design a program that will allow … | |
A clustering index is an ordered file with two fields; the first field is of the same type as the clustering field of the data file, and the second field is a disk block pointer. There is one entry in the clustering index for each distinct value of the clustering … | |
Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> … | |
Hi! I would like to send SMS messages from Sharepoint when a server goes down. I have found this website that explains how to integrate it with this Ozeki NG SMS gateway. The software is ok when trying to connect the JDBC with my database, and this whole configuration looks … | |
I designed a swing interface with MySQL table. I put two comboboxes in a manner when the 1st combobox value is selected (Brand Name), the second combobox values (available items under thise selected brand) will be loaded via a mysql query. My code is... try{ String url = "jdbc:mysql://localhost:3306/databasename"; String … | |
Hi, I want to generate an anchor tag <a href="#" class="close"><img src="resources/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a> in code behind using c#...but dunno how to do.... | |
Please help me -_- transfer Numbers 1 to 100 from client to server using sockets in a console application. Number one second per second transmitted -_- | |
I was wondering how I would go about programming a gui toolkit from scratch. I would appreciate any and all help you could give me. | |
I am creating a project in winforms in vb.net. My requirement is to update and delete records in SQL database with a button click event. My update coding updates the whole table instead of a particular database row.I have four columns in my table. Is there any coding way where … | |
I thought I'm done doing mg activity, but my professor said that we need to use a Temporary Variable for Swapping and I have no idea where to put it. Mind giving me a hand, please? :( Here is his activity: Activity: Swapping Create a program that accepts a 10-element … | |
I have the following code: isBigInt: function () { var val = bigInt(); if (bigInt(val.toString()).greaterOrEquals("-9223372036854775808") && bigInt(val.toString()).lesserOrEquals("9223372036854775807")) return true; else return false; } I have downloaded the biginteger library in the https://www.npmjs.org/package/big-integer , but this code does not get the correct number typed by the user. | |
I would like to create an array of objects. I am not sure as to how this would work as my searching through javascript does not give an address of identifier. I can only use javascript as the site is being designed for local use. if it did I would … | |
Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You ![]() | |
I hope someone can help me. I have been working on this for several days and can not figure it out. I made a blog and I am trying to get SEO friendly URLs. I have tried the mod-rewrite and it seems to have no effect. is there something else … | |
i need to disable my combobox dropdown database values when another combobox value is clicked ...any help plss ... | |
Hi, I have a C# project which I want to make into a Windows installer (either .msi or .exe if possible) so that it can be deployed for e.g. in the C:\Program Files\myproject folder on any PC running Windows (and if possible limit it as from Vista onwards with a … | |
I need to pay someone for a live counter that adds one each 1.7 seconds. https://www.daniweb.com/web-development/php/threads/68355/live-web-counter-increment-a-number-by-x-every-x-seconds It is the real time count of Heart Failures worldwide. Gary@HealthyHeartTissue.com Gary | |
Hi i didnt find anything about this here on the forum and i cant figure out how to do it myselfe either. i have a homepage runing java with servlets and jsp pages and i want a simple contactform that sends a message from the form to a specific mail. … | |
Rewrite rule get variable problem This example code RewriteRule ^(.*)/(.*)$ /media.php?hal=$1&id_image=$2 [NC,L] | |
Hello, I am looking for a way to place an automatic . (dot) or , (comma) for every multiple of 3. I only find the mask to do so but it requires the user to input the exact amount of numbers: <script type="text/javascript"> $(function() { $.mask.definitions['~'] = "[+-]"; $("#numbermask").mask("999,999,999",{completed:function(){alert("completed!");}}); $("input").blur(function() … | |
Hi everyone, i need your help, i've used a panel and i've a label(which acts as a background image).. There's a long text which is placed in a label. now i want to view this text and the background image but in this attempt i cant see any scrollbars even … | |
I just need help regarding my problem in editing an imploded input text from the database: I have a dynamic input text which means that you can add more input field if you click the add more button. My problem is that when tried to edit those text fields the … | |
![]() |
The End.