52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for severman

hi all is it possible to find with jQuery an id that start with something, then a specific string, and then something. for example lets say that i have this divs [code] <div id="first_search_div1"></div> <div id="second_search_div2"></div> <div id="third_bla_div3"></div> [/code] i want to find this patern: *search* the result should the …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
154
Member Avatar for soroushc

Hi:)the problem im facing is that i created a control Textfield.Example :the user types in 75000 in the textfield and after he or she presses enter the List view appears. But i want them to hit a button so after hitting the button the list view appears?plz help

Web Development asp.net gui
Member Avatar for CrappyCoder
0
139
Member Avatar for thatguy2

I am trying to pre-populate form selections by evaluating a string. I will import a dynamic string later, but wanted to focus on the search function. If the value has a match in the string then write "selected" in the input tag to select it for the viewer. What am …

Web Development javascript
Member Avatar for thatguy2
0
165
Member Avatar for invisal

I am looking for an article publishing script that support multiple-pages articles similarly to devpapers.com. I have searched for many scripts already and all of them are only able to post an article in a single-page. Thanks before hand Visal .In :P

Web Development publishing
Member Avatar for Ezzaral
0
129
Member Avatar for helpfullProgram

Hello everyone! I need to be able to check if a "username" exists in one table in the database, and if not then create a row with that "username" and various other bits and bobs. I have it so I can input a username into a database but when I …

Web Development mysql php
Member Avatar for helpfullProgram
0
165
Member Avatar for mbarandao

I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error: [CODE] Uncaught SyntaxError: Unexpected token [/CODE] can't make out the error. Not sure if this is related to another onclick function. Here is the actual code: [CODE] …

Web Development javascript javascript-jquery
Member Avatar for mbarandao
0
145
Member Avatar for stevenfagan

I am having a problem calling a stored procedure from a sql database that inserts variables into a database. The stored procedure is: PROCEDURE [dbo].[sp_test_table_testInsert] @NameStr varchar(50), @Qualifier bit, @Notes varchar(50) AS BEGIN insert into test_table (NameStr, Qualifier, Notes) values (@NameStr, @Qualifier, @Notes) END the call I have on the …

Web Development asp open-source
Member Avatar for hielo
0
292
Member Avatar for super_alex
Member Avatar for rizvihaider72
0
115
Member Avatar for Naggelos

Hi, I'm a newbie in php.. having some trouble getting a simple contact form to work, could someone help and explain what the problem and a possible solution to this: contact.html [CODE]<form method="post" id="customForm" action="contact.php"> <div> <label for="name">Name</label> <input id="name" name="name" type="text" /> <span id="nameInfo">What's your name?</span> </div> <div> <label …

Web Development php
Member Avatar for dietdew12z
0
179
Member Avatar for David 78

Hello guys...actually it's going to be a pretty hard question and probably hard to solve. Here it goes: I have a table of added members and the same table exists in "remove_members" page where I added a checkbox to each user's picture. The pic/user is supposed to be deleted when …

Web Development php
Member Avatar for David 78
0
131
Member Avatar for kiranbvsn

hi all i developed one application in .net which i've used both javascript (on button clicks) and jquery (using script manager) my problem here is i've disabled "Edit and Delete" buttons in my page when clicking the "Add" button so far the application worked fine with in my system (i.e. …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
66
Member Avatar for rolyestemonio

Hi..Can anyone help me out? Can anyone give me a sample image uploader in php? That it will store to php mysql database? With 4 fields namely(id, image_name, images, descriptions). [b]These are my fields.[/b] [CODE]<form action="" method="post"> <input name="image_name" type="text" id="image_name" value=""/> <input type="file" name="images" id="images"> <input name="descriptions" type="text" id="descriptions" …

Web Development image php
Member Avatar for rolyestemonio
0
113
Member Avatar for angele18

hi, I'm doing a Real Estate Website where I have an upload image web form which saves the image paths of the images into my database. I am trying to view details of the property in another web form, but I can't retrieve the images, only the data is being …

Web Development asp.net image
Member Avatar for CrappyCoder
0
1K
Member Avatar for akil007

I have asp:calendar Now i want to select multiple dates from calendar.Is it possible that multiple selection can done or not

Web Development asp.net
Member Avatar for crishjeny
0
91
Member Avatar for new SE

i want to make a seacrh page using c# in asp.net.. at the first page, i want to display all the record in a gridview..then,after user click a search button, the result will appear in another gridview.. what should i put to visible the previous gridview and display only the …

Web Development asp.net dataset display web-server
Member Avatar for crishjeny
0
177
Member Avatar for new SE

hi.. i've review the latest logout and cannot back if BACK button is press.. anyone can help me in clearly how to code it?

Web Development asp.net
Member Avatar for crishjeny
0
131
Member Avatar for skyboy

I have a table that looks like the one below: Name Score1 Score2 Score3 TOTAL Dan 71 85 23 ? Tom 58 84 87 ? sam 76 65 64 ? I dont know d command that will dynamically get the total score for each student and put it in the …

Web Development asp.net
Member Avatar for crishjeny
0
97
Member Avatar for new SE

Hi all, i am working on converting the asp.net to pdf file.. now i'm using this code,but it give me an error "Type or namaspace name 'pdfConverter' could not be found".. is there any component i need to install..any help plz? [CODE]PdfConverter pdfConverter = new PdfConverter(); pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfConverter.PdfDocumentOptions.PdfCompressionLevel …

Web Development asp.net file-stream pdf
Member Avatar for crishjeny
0
148
Member Avatar for shaqtus

When I set the VisibleWhenLoggedIn property of my Login control to false, my Login control automatically becomes invisible even if I'm not logged in. I've already set the Authenticate event to use my own SQL database, but this problem is still persisting. How do I fix this? Here is the …

Web Development asp.net open-source
Member Avatar for crishjeny
0
101
Member Avatar for derozza

Dear all. I need help regarding on my error.. this is the sample code: [CODE] Private Sub GetDetails(ByVal id As String) Dim conString As String = (ConfigurationManager.ConnectionStrings.Item("ItemListing").ToString) Dim objConnection As New MySqlConnection(conString) objConnection.Open() Dim sdr As MySqlDataReader Dim sSQL As String = " SELECT i.SuppCode,s.SuppName,s.telno,s.Faxno,s.email,s.Salesman,s.Mobileno,s.add1," & _ " i.masterefno, i.invoicerefno,a.remarks, …

Web Development asp.net mysql sql
Member Avatar for CrappyCoder
0
182
Member Avatar for mia_islina

I have created a CSV file on the server and want to send it to the user using the following code: [code] Dim strPhysicalPath As String strPhysicalPath = Server.MapPath( "CSV/" & PathVirtual) Dim objFileInfo As System.IO.FileInfo = New System.IO.FileInfo(strPhysicalPath) Response.Clear() Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("Content-Disposition", "attachment; filename=" & objFileInfo.Name) Response.AddHeader("Content-Length", objFileInfo.Length.ToString()) …

Web Development asp.net html-css
Member Avatar for mia_islina
0
171
Member Avatar for puvi

hi, to validate the name entered by user, i am using this expression "/^[a-zA-Z, ,]/". The name should contain only alphabets and space, if anything other than these two appear in the string, it should output alert msg. Is this expression correct? it is working fine only when numbers are …

Web Development javascript
Member Avatar for puvi
0
115
Member Avatar for mandar2886

HI im new to asp.net and i want help when click insert button same record is inserted instead of new record. Pls reply asap as my project is based on this [code] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; …

Web Development asp asp.net dataset open-source sql
Member Avatar for kvprajapati
0
131
Member Avatar for hawk_40

Hi, I want to search a particular word from a string here is it $str="<a href" is there any way to find this link embedded in the string .... and if found it must echo "found.....................

Web Development php
Member Avatar for xinam
0
105
Member Avatar for Xtremefaith

Having issues working with dates in PHP, very new aspect of PHP for me. Couple things I'm trying to accomplish and wouldn't mind a simple tutorial/explanation of since everything I'm finding assumes I know more than I do: [B]1. How to sort by dates?[/B] [I]Currently I am trying to query …

Web Development flash php
Member Avatar for Xtremefaith
0
161
Member Avatar for ujsiriwardana

i'm creating a e-cart. i have a problem to update cart. I want to use session array to create cart, but i don't know how to do it. can some help me to create SESSION ARRAY which can add several data. $_SESSION['ecart'] = $details; how to add several data for …

Web Development php session
Member Avatar for eoliva
0
138
Member Avatar for medobangs

I know this is a long one but I've been trying to work around the coding for days, any help will be of great help. ______________________________________________________________________________________ [B] I have a bit of a problem, I have three pages: student_login.htm(to take in id and pwd),loginstdck.php(to check if the values match with …

Web Development html-css php session
Member Avatar for medobangs
0
316
Member Avatar for mbarandao

Hello: I have a mysql table that stores customer transaction information. I want to sum column name "total" --which has values like this: $253.20-- only where the value of another column is "mossa01". For this, I passed the variable to the code via url and trimmed it. I then used …

Web Development apache client-server php
Member Avatar for mbarandao
0
114
Member Avatar for brandonna

I'm planning the redesign/upgrade of my site which is currently in wordpress to something that looks like the following. Can you experts out there in .php tell me if these are: 1) just custom wordpress templates or designed from the ground up 2) how much it would cost to do …

Web Development php seo wordpress
Member Avatar for chrishea
0
139
Member Avatar for Joe34

Do you need to to install php, mysql, apache, and more on your computer? <URL SNIPPED>

Web Development apache mysql php
Member Avatar for Joe34
0
108
Member Avatar for saadi06

hello can any one help me i have a code for pagination and it is working properly but i want give it a condition that if the first page is shown then nothing should be displayed and if the data is on the second page then the pagination should start …

Web Development php
Member Avatar for davehere
0
113
Member Avatar for patibikash

I have a text file having randomize numbers. ->first read the file in asp.net ->then count how much time the number will repeated in that text file ->and also display the time taking to read the file Please help if any body has the answer.

Web Development asp.net
Member Avatar for searchec
0
117
Member Avatar for arthurav

I have some text in a block with a certain width. I can count the number of lines in the text with substr($text,"<br />" but this is not the same with the number of line of the formatted text at that width. Is there a way to calculate that? Thank …

Web Development html-css php
Member Avatar for diafol
0
130
Member Avatar for pjh1985

Hi, I am developing a dynamic website and i want to highlight the current page but i'm having some trouble in applying the styles to the links. Here is what i've got so far: [CODE] <?php function checkPage($fPage) { $fCurrent = $_GET['title']; if($fPage = $fCurrent) { $fStyle = 'class="activelink"'; return …

Web Development php
Member Avatar for pjh1985
0
181
Member Avatar for Roriomphe

Hi All I have created a form for a user to register and be able to Logon.I need help with username and password validation code.This is what i have done so far and I'm getting this error:error: Column count doesn't match value count at row 1 Warning: mysql_num_rows() expects parameter …

Web Development php
Member Avatar for Roriomphe
0
116
Member Avatar for RoyalElite96

Hi, I do know a bit PHP and also had no probles with regular expressions, [I]until now[/I]. This is my code: [CODE] $string = ereg_replace("([\"](.*)[\"])", "<span class=\"style10\">\\2</span>", $sting);[/CODE] . Why doesn't it work? It all runs fine when using: [CODE] $string = ereg_replace("([*](.*)[*])", "<span class=\"style10\">\\2</span>", $sting);[/CODE] , but I want …

Web Development php regex
Member Avatar for RoyalElite96
0
207
Member Avatar for coxdabd

Hi, do I need to LIMIT my blast script to fire out an emailer or can I just take it out. We have around 500 email address in our database. Having to reload the script is going to become painful - is there anything I can do? My hosting provider …

Web Development email php
Member Avatar for coxdabd
0
362
Member Avatar for erum

ca any one correct my insert query in database [code] Dim hotel_book As String = "insert into hotelbooking (Userid, hotel_requirement_Types, singleroom, single_no_room,doubleroom,double_no_room) " & _"VALUES (" & userid & ", '" & ckchecked.Text & "' , & singlecheck & , & no_single_room & , & doublecheck & , &no_double_room & …

Web Development asp.net vb.net
Member Avatar for kvprajapati
0
94
Member Avatar for mbarandao

Hello: I'm using this script as an auto resize function for an iframe, but can't get it to work [U]in safari. [/U] [CODE] <script type="text/javascript"> <!-- function calcheight() { var the_iframe = document.getElementById('paymentHistory'); var the_document = (the_iframe.contentWindow ¦¦ the_iframe.contentDocument); if(the_document.document) the_document = the_document.document; var the_height= the_document.body.scrollHeight;} //--> </script> [/CODE] to …

Web Development javascript
Member Avatar for mbarandao
0
208
Member Avatar for ellenski

Hi, We were asked to make a subscription type of form. Details needed are username, password, first name, last name, etc. My problem has something to do with the password validation. when i feel in the password field and the re-type password field, both of them should be checked. If …

Web Development java-jsp
Member Avatar for ellenski
0
7K
Member Avatar for xuexue

could you help me guys to translate this code from PHP MySQL to PHP ODBC. i'm having a hard time to run this page using the PHP ODBC which uses MSSQL connection. any help would be very much appreciated.. thanks in advance ^^ [CODE] <?php $return_arr = array(); $sql = …

Web Development mssql php
0
91
Member Avatar for chamoo007

i have a question that can we make a dynamic title using php??? is it possible? i mean the header

Web Development php
Member Avatar for almostbob
0
311
Member Avatar for gamebits

The situation is this, I go on eBay do a search, look at the source code, copy the area that I want to parse, paste it in my script, run the script and get what I want from it. So basically in my script I have a variable like this …

Web Development first-post php
Member Avatar for Kieran Y5
0
120
Member Avatar for divyakrishnan

Hi.. I have an issue on my project.I want to open a particular page of a PDF by clicking a hyper link.How should I do it?any idea ?

Web Development pdf php
Member Avatar for chrishea
0
76
Member Avatar for aramesh1989

hi I have to use https protocol in my project. But I dont know how to use it thorough servlets plese guide how to use it. I am using Websphere as my application server. How to congigure it for Https

Web Development java-jsp
Member Avatar for aramesh1989
0
100
Member Avatar for genzoman

Hi, all. This is using jquery by the way. I have a list of ethnicities on a form for a person to enter that are checkboxes. One option is 'Other, specify'. When 'other specify' is checked, I would like a text box to pop up and disable the other boxes …

Member Avatar for genzoman
0
658
Member Avatar for adobe1

I have this problem it go thus; E=MC~2(change in mass*C square) where E=energy produced(in joule),M=change in mass(in kg),C=speed of light(3.0*10`8ms~1) work of EINSTEIN. I was asked to write a computer program to calculate the energy produce when mass is know. pls help.

Web Development java-jsp
Member Avatar for adobe1
0
53
Member Avatar for Archenemie

I have been tasked to learn basic JavaScript as part of my collage coarse, and i've taken this section if code from the W3C website and commented it out. Is my interpretation of what this script is doing correct? Im using this script as an example of how JavaScript can …

Web Development javascript
Member Avatar for Archenemie
0
119
Member Avatar for El Duke

Hello folks, In short, this code is vulnerable: [CODE] <div class="search"> <form action="/search" method="get" name="header_search"> <label>{l t='Search Business'} <input name="searchtext" type="text" id="searchtext" placeholder="{l t='e.g.Marriott'}" /></label> <label>{l t='City'} <input name="cityname" type="text" id="Hsearchcity" autocomplete="off" placeholder="{l t='All Cities'}" class="commentColor cityname"/> </label> <a onclick="header_search.submit()" href="javascript:void(0)">{l t='Search'}</a> </form> </div>[/CODE] I have been trying to implement …

Web Development php
Member Avatar for Stefano Mtangoo
0
244
Member Avatar for SEOKRU

Hi, On login page load, (even before submitting user name and pass) Debugger finds "permission denied error". U can see it here: [B][URL="http://goldpharm.co.il/authentication.php"]goldpharm.co.il/authentication.php[/URL] [/B] Now, when a user submit's user name and pass, nothing happens, he stays on the login page. Could it be a problem in authentication.php file? and …

Web Development php
Member Avatar for SEOKRU
0
180

The End.