[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

An international website that runs with Multilanguage interfaces except Arabic. Digital marketing is handled by a third-party. If we wish to create the Arabic site as completely separate website hosted somewhere else, what are the pros and cons in terms of digital marketing?
0
PMI ACP® Project Management
LVL 12
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

redis used as cache data in at some point if we want to persist to SQL/No SQL is there a straight forward way?
0
I am just looking for a simple, light jquery plugin. I want to load a popup box/window on my home page that displays this months specials/discounts. I don't want it to be intrusive, so I want to be able to control the placement. Ideally it will pop up from the bottom right portion of the screen. I also want to be able to choose the look and styling.

I cannot even believe the trouble I had with trying to google what I need. All I could find were modals or tooltips or onclick or windows that were fixed in the center of the screen. I tried several different wording on searches and went several pages deep in results, and cannot seem to find something that fulfills those requirements.

I figure someone on here might know of something off hand that they could recommend. Thanks!
0
Some random examples:

xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html>

What are these for?  What is their origin?

Can these references be viewed?  For example, the one for HTML4 I can go to the strict.dtd page, but what about the one for HTML5?  Or are they proprietary / confidential?  How do web programmers take advantage of them?
0
Hi Experts,

I have the following code which works fine for Win8 OS, while in Win7 it gives me an error, "cannot connect to the server".

Someone already helped me set this up in one Win7 pc, however now I need to move this over to another pc.

    Dim objHTTP As New WinHttp.WinHttpRequest



            Set objHTTP = New WinHttp.WinHttpRequest
 
            url = "https://MyAcct.caspio.com/oauth/token"
            objHTTP.Open "POST", url, False
            objHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
        
            objHTTP.Send "grant_type=client_credentials&client_id=MyID&client_secret=MySecretID"
        
            ResponseText = Right(objHTTP.ResponseText, Len(objHTTP.ResponseText) - 17)
            access_token = Left(ResponseText, InStr(ResponseText, """") - 1)

Open in new window


PS. this only happens when trying to access secured accounts (Hipaa).

As far I remember we did applied those attached last time, but so far this didn't help.

Thanks in advance.
x64.reg
TLS-1.x-on-Windows-7.zip
0
I do not have a problem. I need to know where to look to learn the different types of files in script.
0
I need some helps to learn how to switch src from embed html. When alert("Success:" + result); I want to switch documentlink's src to http://www.google.com.
so i try to use document.getelementid("").src = 'http://www.google.com' and it does not seem working. and I got one help in the past using localstorage but
it does not work with the codes. So I hope to get some helps.

Thanks,                
@{ 
    string documentLink = Request.QueryString["link"].ToString();
    string hreflink = documentLink;     
    Uri uri = new Uri(hreflink);
    var filename = uri.Segments.Last();        
    string documentId = Request.QueryString["documentId"];
    string quoteId = Request.Url.Segments[3];
    string signingStage = "Signing";
}


<script>
       $(document).ready(function () {
               saveButton.addEventListener('click', function (event) {
               var dataPng = pad.toDataURL('image/png');
               //alert(dataPng);
               $.ajax({
                   url: "/Home/CreateSignatureOnDocument",
                   datatype: "json",
                   data:
                   {
                       'quoteId': '@quoteId',
                       'documentId': '@documentId',
                       'fullname': document.getElementById("fullname").value,
                       'phoneno': document.getElementById("phoneno").value,
                       'emailList': document.getElementById("email").value,
                       'stage':'@signingStage',
          

Open in new window

0
1533129675000047000137000212000136000072000161000012000057  to convert it into normal text
0
hi there,

Currently I'm trying to create, sign & broadcast bitcoin transaction using btcsuite. For start, I've already had testnet3 address & its associated privatekey for testing. However, hunting through the post and articles like below:-

https://www.thepolyglotdeveloper.com/2018/03/create-sign-bitcoin-transactions-golang/
https://github.com/prettymuchbryce/hellobitcoin/blob/master/transaction.go
https://github.com/btcsuite/btcd/issues/1164

The solution proposed above its not complete, for first one, it only covers until signing (i knew the author claimed its not broadcastable unless you provide the utxo which i did if i'm right) but when tried to braodcast it failed with message

"Error validating transaction: Transaction be9b294695bfb201a5cff32af074a4bf72b073e3c9dad1969111165bf118a622 orphaned, missing reference f0c0d3b3eecf911ede996a74ceadc9366068791450c9e6bacee9ae202f3690d1."

I have no idea what's going on and I suspect its script is incompatible.

So, the bottom line is I just want a workable example in bitcoin testnet3 that shows "from 1 address transfer some bitcoin to other address" by showing the process of creating raw transaction, sign it with private key, turn it to raw transaction in hex format & broadcast it using something like https://live.blockcypher.com/btc/pushtx/ (BTC testnet)

currently my code is as follow:-

package main
import (
    "fmt"
    "encoding/hex"
    "bytes"
    "github.com/btcsuite/btcutil"
    btcchain 

Open in new window

0
Hi,

I need to write this code in global.asa. GetLastDateandTime is working fine. I need to put that in the session. If user is present then we get the data from the database. This function is working fine. If user is not present then we are using update function. My update function is not working. Page is down. I am not sure how to fix the update function.

Sub S[b]ession_OnStart[/b]

Dim objConn, objRs, strConn

Set objRs = Server.CreateObject("ADODB.Recordset")

Set objConn = Server.CreateObject("ADODB.Connection")                                                                                     

             

strConn = "test;"

 

objConn.Open strConn

dim strUser

strUser = request.servervariables("logon_user")

dim strDateAndTime = Now()       

If (strUser <> "" ) then

    Session("LastDateTime") = GetLastDateandTime(strUser, objRs,objConn)

else
[b]
   UpdateLastDateAndTime(strUser, strDateAndTime, objRs,objConn);[/b]

End If

 

Set objRs = Nothing

Set objConn = Nothing

End If

 

End Sub

 

 

Function GetLastDateandTime( ByVal strUser, ByRef objRs, ByRef objConn)

'--------------------------------------------------------------------------

'-------------------------------------------------------------------------

    Dim cmd

             

       Set cmd = Server.CreateObject("ADODB.Command")                            

       Set cmd.ActiveConnection = objConn

 

       cmd.CommandText = "usp_GetLastDateandTime"

       cmd.CommandType

Open in new window

0
Python 3 Fundamentals
LVL 12
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Dear Experts,

I have an asp.net website that uses identity 2.1 (I'm pretty sure > 2.0 anyways as near as I can tell). It is written in visual basic. I ran into a weird issue the other day where people were logging in and getting this viewstate error:

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

So I followed the advice I found in the microsoft article and added a machine key to the web.config file so that no matter what it (hopefully) shouldn't get that error again.

Once the machine key was changed to one that I set now we had issues with anyone with an already existant authorization cookie on their computer, they were unable to login. I believe it's because the machine key that I set no longer matched the one that was used in their cookie. I'm not entirely clear how, but apparently it's part of how it's encrypted. If they clear their cookies, all is well - then they could login.

So one bit of advice I found searching on the web sounded super simple and super-easy. They recommended that you have some sort of set key in your web.config, like a guid or something and then you add it to your cookie also. Then, when you load the cookie, you can check the key and if it doesn't match your server key, somehow you invalidate the cookie.

I basically spent all day trying to figure out …
0
In my Magento there is an exception message "The requested Payment Method is not available." from Mage_Core_Exception class happening on a few pages:
  • /checkout/onepage/saveShippingMethod/
  • /checkout/onepage/

This is the stacktrace:
stacktrace
The version is Magento CE 1.9.3.3
What is the issue and how to fix this?
0
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

-saige-
0
I had this question after viewing Auto refresh webpage but maintain scroll position.

I love the assisted solution, but when using a .mht file it does not work.
Internet Explorer asks if I want to open the file and the mht file opens in a new window.

How can I open, refresh (and stay on scroll) of an excel generated mht file?
0
I am using a @foreach() loop in razor view to pass variables to a table cell as shown below. using ajax calls, i want to fetch different values from a database and display them on the table cells on a button click event. The ajax calls are successful and i can return the right data to the model but the cell values do not change after initial load. How can i make the cell values update automatically every time the model changes
code sample
0
I have a SharePoint list app that uses workflows....

I have one multi-line field that I am using for a history field where I place a quick entry on updates....

This technique uses string builder in the workflow...  What I am trying to achieve is:

date for latest entry
blank line
previous entries

I can not get a CR to work at all, have tried all three format and <br/>

Help........
0
I come across the following link

https://stackoverflow.com/questions/41487621/authorization-in-spring-web-application-custom-filter-vs-servelt-filter-vs-acce

Custom Filter OR Servlet Filter or AccessDecisionVoter

Need to provide access to user after login to the pages or actions based on certain conditions (user is active or user expiration date is over or user doesn't have any orders) and looking for a custom spring security. In the above which one would be suitable in this case and need a good code snippet to achieve it.
0
I have a VB.Net page where I have implemented Impersonation using help from the following post:
"go to the post on impersonation using VB.Net"

Although it seems to be working when I access the page from the IIS server (not local) but when other users try to access it then they get the following error message:

An error occurred while attempting to impersonate.  Execution of this request cannot continue.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.


Exception Details: System.Web.HttpException: An error occurred while attempting to impersonate.  Execution of this request cannot continue.

Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): An error occurred while attempting to impersonate.  Execution of this request cannot continue.]
   System.Web.ImpersonationContext.get_CurrentThreadTokenExists() +227
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +12491258
   
0
I have a HTML code that i use for the gmail signature. The change that i want to make to that is if there is no mobile number to that particular person my code still shows mobile at the signature with no number to it, Is there any way i can use if else statement to take that mobile text away if there is no mobile number to that person.

Here's my previous Code:

</table>
<p style="text-align: left;"><span style="color: #206694;"><strong>Phone</strong></span>&nbsp;$phoneBusiness &nbsp;&bull; &nbsp;<strong><span style="color: #206694;">Mobile</span></strong>&nbsp;$phoneMobile &nbsp;&bull; &nbsp;<span style="color: #206694;"><strong>Email</strong></span>&nbsp;$mailPrimary</p>
<hr style="height: 3px; color: #206694; background-color: #206694;" noshade="noshade" width="100%" />
<p style="text-align: center;"><span style="color: #206694;"><strong>$orgDescription&nbsp;</strong></span></p>


thank you in advance
0
Bootstrap 4: Exploring New Features
LVL 12
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Cannot request a new account in WkikMedia

Please look at chaliceuucongregation.org, then click "Chalice Wiki" (last item on the menu).

On the right sidebar, click "Request an Account", goes to "Get an Account" page. Click Request an Account, loops back to the prior page.

Used to work, we moved hosts, not sure if it has worked since then.

Any ideas on how to address this?

Thanks
0
I have upgraded my application from Angular 4 to Angular 5. After the upgrade the glyphicon icons are not showing up

<span class="glyphicon glyphicon-user" style="cursor:pointer"></span>

Open in new window


In the browser console, this error is displayed


Glyphicon error
I continue to use the same version of bootstap v3.3.7 and it is also included in angular-cli.json (no changes here as well)

"styles": [
        "../node_modules/bootstrap/dist/css/bootstrap.min.css",
        "../node_modules/ngx-toastr/toastr.css",
        "../node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
        "styles.css"
      ],

Open in new window


Is there something else that needs to be done in order to make the icons work? Other bootstrap styling is working fine.
0
1. What is BindingResult?
2. When to use BindingResult?
3. Assume @ControllerAdvice is used in a project to handle errors. How BindingResult can be retrieved or processed in @ControllerAdvice
4. Is BindingResult is used for only presentation validations or can be used for business validations as well ?
0
How to perform validation on input fields when a continue button is selected using Angular 4
Please see code below:
Index.cshtml
@{
    ViewData["Title"] = "Medical | Step 1: Let's Get Started";
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>BeneFITwise | Let's Get Started</title>
    <style>
        .error {
            border-color: red;
        }
    </style>
    @*<link data-require="bootstrap@*" data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />*@
    @*<link data-semver="3.3.2" rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.js"></script>
        <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular-messages.js"></script>
        <link rel="stylesheet" href="style.css" />
        <script src="script.js"></script>*@
</head>
<body ng-app="myApp" ng-controller="myCtrl">
    <section class="content">
        <div class="content container-fluid">
            <div class="mbe-2000px-max-width">
                @*<!-- Breadcrumb section -->
                    <ol class="breadcrumb mbe-breadcrumb">
                        <li><a href="welcome-page.html" title="Return Home"><i class="fa fa-home"></i></a></li>
                        <li class="active">Medical</li>
                    </ol>
                    <!-- End of breadcrumb section 

Open in new window

0
After upgrading to Windows 10, my local Development Copy of the code using my local IIS Express Version 10 is unable to get the current HttpContext.  The same code
works on our Development and Live Server that are running IIS 8.5.    I need help updating the code since it appears I can't use HttpContext.Current anymore.  

/// <summary>
        /// Returns the URL for this link
        /// </summary> 
        [NotMapped]
        public string trueUrl
        {
            get
            {
                if (url != null)
                    return url;

                if (HttpContext.Current != null)
                {
                    var urlhelper = new UrlHelper(HttpContext.Current.Request.RequestContext);
                    return urlhelper.Action(action, controller, new { area = area });
                }

                return "ERROR";
            }
        }

Open in new window

Error.PNG
0
Hello, I  have a Wordpress theme, on this theme I would like to reorder the some front page Widgets.  For a visual representation of the Widgets please see Webpage.jpg.  I would like to swap A with B.

The code below shows my home-template.php (I have also attached this page).

I have numbered the Hooks from 1 - 6.  I would like to reorder number 4 with number 6.   I can reorder all of the Hooks using priority, apart from number 4 (why is this?).
* Template Name: Home Page
*/
do_action( 'genesis_home' );
//* Force full-width-content layout setting
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );

**// Execute Home Top - Slider image  1**

add_action( 'genesis_after_header', 'wsm_home_top');
function wsm_home_top() {
	genesis_widget_area( 'slider', array( 'before' => '<div class="home-slider widget-area">', 'after' => '</div>') );
}

**// Execute Home Top - Additional News Banner 2**

add_action( 'genesis_after_header', 'wsm_home_featured', 15 );
function wsm_home_featured() {
	genesis_widget_area( 'home-top-featured', array( 'before' => '<div class="home-top-featured widget-area"><div class="wrap">', 'after' => '</div></div>') );
}

**// Remove the standard loop 3**
remove_action( 'genesis_loop', 'genesis_do_loop' );

**// Execute Home Mid Section - Three layer widget section 4**

add_action( 'genesis_loop', 'wsm_home_loop_helper' );
function wsm_home_loop_helper() {
	echo'<div class="home-mid widget-area">';
	

Open in new window

0

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.